package
0.35.3
Repository: https://github.com/jetsetilly/gopher2600.git
Documentation: pkg.go.dev

# Functions

Controllers is the preferred method of initialisation for the Controllers type.

# Constants

List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid DPadDirection values.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of valid GamepadButtons.
List of GamepadAxis values.
List of GamepadAxis values.
List of GamepadTrigger values.
List of GamepadTrigger values.
List of GamepadTrigger values.
list of valud key modifiers.
list of valud key modifiers.
list of valud key modifiers.
list of valud key modifiers.
List of valid MouseButtonIDs.
List of valid MouseButtonIDs.
List of valid MouseButtonIDs.
List of valid MouseButtonIDs.
quite a large deadzone for the thumbstick.

# Structs

Controllers keeps track of hardware userinput options.
EventGamepadButton data is generated by any of a game controller's buttons.
EventGamepadDpad data is generated by a game controller's DPad.
EventGamepadThumbstick data is generated by a gamepad's analogue sticks.
EventGamepadAnalogue data is generated by a gamepads analogue triggers.
EventKeyboard data is generated by the system keyboard.
EventMouseButton data is generated by any of the system mouse buttons.
EventMouseMotion data is generated by the motion of the system mouse.
EventMouseWheel data is generated by the mouse wheel (jog wheel).
EventQuit is sent, for example, when the GUI window is closed.
EventStelladaptor data is generated by the stelladaptor.

# Interfaces

HandleInput conceptualises data being sent to the console ports.

# Type aliases

DPadDirection indentifies the direction the dpad is being pressed.
Event represents all the different type of events that can occur in the GUI.
GamepadButton identifies a gamepad button.
GamepadThumbstick identifies the gamepad thumbstick.
GamepadTrigger identifies the gamepad triggers.
KeyMod identifies.
MouseButton identifies the mouse button.