Cherry MX HID with 17 buttons & code
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- avior
- Posts: 24
- Joined: Tue Sep 01, 2015 4:57 pm
Cherry MX HID with 17 buttons & code
i have upload the code for the 17 pin which i use but you can modify it on this selection
int inputPins[6] = { 0 , 1 , 2 , 3 , 5 , 6 , };
int inputKeycodes[6] = { HID_KEY_A, HID_KEY_B, HID_KEY_C, HID_KEY_D, HID_KEY_E, HID_KEY_F, };
int inputPins_B[6] = { 9 , 10 , 12 , 13 , 18 , 20 , };
int inputKeycodes_B[6] = { HID_KEY_Z, HID_KEY_Y, HID_KEY_X, HID_KEY_W, HID_KEY_V, HID_KEY_U, };
int inputPins_C[6] = { 19 , 21 , 22 , 23 , 11 , 20 , };
int inputKeycodes_C[6] = { HID_KEY_1, HID_KEY_2, HID_KEY_3, HID_KEY_4, HID_KEY_5, HID_KEY_6, };
hope this will help someone
- Attachments
-
- connect.jpg (106.47 KiB) Viewed 62 times
Please be positive and constructive with your questions and comments.