Cherry MX HID with 17 buttons & code

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
avior
 
Posts: 24
Joined: Tue Sep 01, 2015 4:57 pm

Cherry MX HID with 17 buttons & code

Post by avior »

Feather_32u4_BLE_17_pin.zip
code used for 17pin
(5.36 KiB) Downloaded 6 times
After almost 1 month of hair pull on how to put extra more then 6 Keys on Ad fruit 32uf LE i finally got the thing to work


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
connect.jpg (106.47 KiB) Viewed 62 times

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”