summaryrefslogtreecommitdiff
path: root/src/class/hid/hid.h
diff options
context:
space:
mode:
authorMarcelo Bezerra <[email protected]>2021-06-09 10:01:17 +0200
committerMarcelo Bezerra <[email protected]>2021-06-09 10:01:17 +0200
commit9e4ecfde6920073798ea857f560d757c840e2d4a (patch)
treee77dec4b688e712ad6d9282955ad204cc268c1d1 /src/class/hid/hid.h
parent95481d4c7fc88e3f1887e88831f5d75336879581 (diff)
parentd81a37d1bed3e9a905a1472eaafe2f750892eaac (diff)
Merge branch 'master' of github.com:mmosca/tinyusb
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