Package-level declarations

Types

Link copied to clipboard
class Gamepad

The Gamepad interface of the Gamepad API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.

Link copied to clipboard

The GamepadButton interface defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.

Link copied to clipboard
Link copied to clipboard
open class GamepadEvent(val type: EventType<GamepadEvent>, init: GamepadEventInit) : Event

The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected_event and Window.gamepaddisconnected_event are fired in response to.

Link copied to clipboard
Link copied to clipboard

The GamepadHapticActuator interface of the Gamepad API represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.

Link copied to clipboard
sealed interface GamepadHapticEffectType
Link copied to clipboard
sealed interface GamepadHapticsResult
Link copied to clipboard
sealed interface GamepadMappingType