Package-level declarations

Types

Link copied to clipboard
external class Gamepad

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

Link copied to clipboard
external class GamepadButton

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
external interface GamepadEffectParameters
Link copied to clipboard
open external class GamepadEvent(val type: EventType<GamepadEvent>, init: GamepadEventInit) : Event

This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.

Link copied to clipboard
external interface GamepadEventInit : EventInit
Link copied to clipboard
external class GamepadHapticActuator

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

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