InputGamepadBinding import { InputGamepadBinding } from "destack:input/binding"; Gamepad binding family. export interface InputGamepadBinding { readGamepadState(device: InputDeviceHandle): Result; setGamepadPlayerIndex(device: InputDeviceHandle, playerIndex: uint8): Result; setGamepadLight(device: InputDeviceHandle, red: uint8, green: uint8, blue: uint8): Result; setGamepadMotion(device: InputDeviceHandle, isEnabled: boolean): Result; setGamepadMotionRate(device: InputDeviceHandle, sampleRateHz: float64): Result; } language/library/src/input/binding/gamepad.ds:166:216 Members readGamepadState(device: InputDeviceHandle): Result Read one gamepad state snapshot. setGamepadPlayerIndex(device: InputDeviceHandle, playerIndex: uint8): Result Set one gamepad player index. setGamepadLight(device: InputDeviceHandle, red: uint8, green: uint8, blue: uint8): Result Set one gamepad light color. setGamepadMotion(device: InputDeviceHandle, isEnabled: boolean): Result Enable or disable gamepad motion sensors. setGamepadMotionRate(device: InputDeviceHandle, sampleRateHz: float64): Result Set the gamepad motion sensor sample rate.