diff options
Diffstat (limited to 'startbit.h')
| -rw-r--r-- | startbit.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/startbit.h b/startbit.h new file mode 100644 index 0000000..5547a15 --- /dev/null +++ b/startbit.h @@ -0,0 +1,22 @@ +#ifndef STARBIT_H_FILE +#define STARBIT_H_FILE + + + +#define NINTENDO_WIIMOTE_VENDOR_ID 0x057e +#define NINTENDO_WIIMOTE_PRODUCT_ID 0x0306 + +#define HID_REPORT_ID_WIIMOTE_RUMBLE_ENABLE 0x10 +#define HID_REPORT_DATA_WIIMOTE_RUMBLE_ENABLE 0x10 +#define HID_REPORT_ID_WIIMOTE_LED_ENABLE 0x11 +#define HID_REPORT_DATA_WIIMOTE_LED_ENABLE_P1 0x10 + +#define HID_REPORT_ID_WIIMOTE_IR1_ENABLE 0x13 +#define HID_REPORT_ID_WIIMOTE_IR2_ENABLE 0x1a + + +#define HID_REPORT_DATA_WIIMOTE_IR1_ENABLE 0x04 +#define HID_REPORT_DATA_WIIMOTE_IR2_ENABLE 0x04 + + +#endif |
