summaryrefslogtreecommitdiff
path: root/startbit.h
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2025-11-23 12:58:39 -0600
committerAaditya Dhruv <[email protected]>2025-11-23 17:20:08 -0600
commitf2e71b9fa6796022b85480ab9e57835ba9b64eda (patch)
tree672feac749a7ac282a2483e0fa65f130186c3587 /startbit.h
parent0c24c3ad8a748c785d795449e043eb6d60fcd1db (diff)
wip
Diffstat (limited to 'startbit.h')
-rw-r--r--startbit.h22
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