Type GamepadDef: { buttons: Record<string, KGamepadButton> sticks: Partial<Record<GamepadStick, { x: number y: number }>> } A gamepad definition.