Finished rubber ducky
This commit is contained in:
16
usb_descriptors.h
Normal file
16
usb_descriptors.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef USB_DESCRIPTORS_H_
|
||||
#define USB_DESCRIPTORS_H_
|
||||
|
||||
#include "tusb.h"
|
||||
|
||||
// Define configuration lengths and buffer sizes manually to satisfy the descriptor structure
|
||||
// #define CFG_TUD_HID_EP_BUFSIZE 16
|
||||
|
||||
enum {
|
||||
REPORT_ID_KEYBOARD = 1,
|
||||
REPORT_ID_MOUSE,
|
||||
REPORT_ID_CONSUMER_CONTROL,
|
||||
REPORT_ID_GAMEPAD
|
||||
};
|
||||
|
||||
#endif /* USB_DESCRIPTORS_H_ */
|
||||
Reference in New Issue
Block a user