1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-11-12 20:25:04 -05:00
gc_n64_usb-v3/usbpad.h
2015-08-22 00:44:51 -04:00

12 lines
266 B
C

#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__