summaryrefslogtreecommitdiff
path: root/src/class/hid/hid.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-09 10:30:13 +0700
committerhathach <[email protected]>2021-06-09 10:33:57 +0700
commit2c0947ebb621e3e53933300cbfd1dce7e0f31338 (patch)
treec06a4f338aba36142bbafef3b01f5cf2bb292b33 /src/class/hid/hid.h
parente393fb32a0830e9d371f3e335cc0cca92b75cbbb (diff)
update gamepad helper
Diffstat (limited to 'src/class/hid/hid.h')
-rw-r--r--src/class/hid/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h
index 782a1a552..b4e8a9c4c 100644
--- a/src/class/hid/hid.h
+++ b/src/class/hid/hid.h
@@ -222,6 +222,7 @@ typedef enum
GAMEPAD_BUTTON_MODE = TU_BIT(12), ///< Mode button
GAMEPAD_BUTTON_THUMBL = TU_BIT(13), ///< L3 button
GAMEPAD_BUTTON_THUMBR = TU_BIT(14), ///< R3 button
+ // Note: Button number start from 1 on host OS
GAMEPAD_BUTTON_16 = TU_BIT(15), ///< Button 16
GAMEPAD_BUTTON_17 = TU_BIT(16), ///< Button 17
GAMEPAD_BUTTON_18 = TU_BIT(17), ///< Button 18