Pull request changes

Remove configuration options and just bump number of buttons to 32
Fix button numbereing and comments in
This commit is contained in:
Marcelo Bezerra
2021-06-08 09:24:50 +02:00
committed by hathach
parent f37c8ed749
commit e12195705c
4 changed files with 19 additions and 51 deletions
+2 -2
View File
@@ -343,10 +343,10 @@ static inline bool tud_hid_gamepad_report(uint8_t report_id, int8_t x, int8_t y
/* 16 bit Button Map */ \
HID_USAGE_PAGE ( HID_USAGE_PAGE_BUTTON ) ,\
HID_USAGE_MIN ( 1 ) ,\
HID_USAGE_MAX ( CFG_TUD_MAX_BUTTONS ) ,\
HID_USAGE_MAX ( 32 ) ,\
HID_LOGICAL_MIN ( 0 ) ,\
HID_LOGICAL_MAX ( 1 ) ,\
HID_REPORT_COUNT ( CFG_TUD_MAX_BUTTONS ) ,\
HID_REPORT_COUNT ( 32 ) ,\
HID_REPORT_SIZE ( 1 ) ,\
HID_INPUT ( HID_DATA | HID_VARIABLE | HID_ABSOLUTE ) ,\
HID_COLLECTION_END \