add tud_hid_n_gamepad_report() helper for gamepad report

- Add gamepad to hid_composite example. Though it needs a bit of extra
work but it will come later as separated PR.
This commit is contained in:
hathach
2021-02-08 19:08:16 +07:00
parent b2019e4d71
commit 72bcc0685c
7 changed files with 65 additions and 15 deletions

View File

@@ -30,6 +30,7 @@ enum
REPORT_ID_KEYBOARD = 1,
REPORT_ID_MOUSE,
REPORT_ID_CONSUMER_CONTROL,
REPORT_ID_GAMEPAD
};
#endif /* USB_DESCRIPTORS_H_ */