package
4.1.1
Repository: https://github.com/oakmound/oak.git
Documentation: pkg.go.dev

# Functions

GetJoysticks returns all known active joysticks.
Init calls any os functions necessary to detect joysticks.
WaitForJoysticks will regularly call GetJoysticks so to send signals on the output channel when new joysticks are connected to the system.

# Constants

Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.
Button or input names.

# Variables

Events.
Events.
Events.
Disconnected includes the ID of the joystick that disconnected.
Events.
Events.
Events.
Events.

# Structs

A Joystick represents a (usually) physical controller connected to the machine.
ListenOptions can be passed into a joystick's Listen method to change what events will be propagated out.
State represents a snapshot of a joystick's inputs.

# Interfaces

A Triggerer can either be an event bus or event CID, allowing joystick triggers to be listened to globally or sent to particular entities.

# Type aliases