diff --git a/firmware/src/main.cpp b/firmware/src/main.cpp index 87a4317..6ccb4d0 100755 --- a/firmware/src/main.cpp +++ b/firmware/src/main.cpp @@ -134,7 +134,8 @@ char kp_keys[KP_ROWS][KP_COLS] = { Keypad kp_keypad = Keypad(makeKeymap(kp_keys), kp_rowPins, kp_colPins, KP_ROWS, KP_COLS); -/* Keymap config ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +/* Keymap config -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ + /* Valid "Fn0 (hold) key" when using tap mode are: KEY_LEFT_SHIFT, KEY_RIGHT_SHIFT, KEY_LEFT_CTRL, KEY_RIGHT_CTRL, KEY_RIGHT_ALT, KEY_LEFT_GUI, KEY_RIGHT_GUI, KEY_FN1, KEY_FN2 * "Button ID" corresponding with the physical design of the actual keyboard. DO NOT CHANGE BTN ID! ------------------------------------- ------------------------------------- @@ -144,6 +145,7 @@ Keypad kp_keypad = Keypad(makeKeymap(kp_keys), kp_rowPins, kp_colPins, KP_ROWS, ------------------| 37 | 38 | 39 | | 40 | 41 | 42 |------------------ ------------------- ------------------- * "Fn0 hold key" is normal key in non tap mode. In tap mode this key is the hold key. + * "Fn0 tap key" enables tap mode. * "Fn1 key" is the layer 1 key to use. Don NOT add KEY_FN1 or KEY_FN2 to this layer. * "Fn2 key" is the layer 2 key to use. Don NOT add KEY_FN1 or KEY_FN2 to this layer. "Fn1 key" and "Fn2 key" are N/A when using tap mode and should me defined as NO_KEY. @@ -197,8 +199,8 @@ Button buttons[NBR_OF_BUTTONS] = {40, KEY_FN1, KEY_SPACE, NO_KEY, NO_KEY, NO_KEY, true, {NO_KEY, NO_KEY, NO_KEY}, IDLE, false, 0, false, false, 0, 0, false}, {41, KEY_COMBO, NO_KEY, KEY_COMBO, KEY_COMBO, NO_KEY, false, {KEY_FN1, KEY_RIGHT_ALT, NO_KEY}, IDLE, false, 0, false, false, 0, 0, false}, {42, KEY_LEFT_GUI, NO_KEY, KEY_LEFT_GUI, KEY_LEFT_GUI, NO_KEY, false, {NO_KEY, NO_KEY, NO_KEY}, IDLE, false, 0, false, false, 0, 0, false}}; -/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */ // clang-format on +/* End of keymap config -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ const int STATUS_LED = 13; bool status_led_on = false;