You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
266 B

#ifndef USBPAD_H__
#define USBPAD_H__
void usbpad_init(void);
int usbpad_getReportSize(void);
void usbpad_buildReport(const gamepad_data *pad_data, unsigned char *dstbuf);
// For mappings. ID starts at 0.
#define USB_BTN(id) (0x0001 << (id))
#endif // USBPAD_H__