mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-11-12 20:25:04 -05:00
12 lines
266 B
C
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__
|