1 // TODO: Improve this currently there is no feedback if activated by other means.
2 bool CAPS_LOCK = false;
4 bool SCROLL_LOCK = false;
6 bool process_record_user(uint16_t keycode, keyrecord_t *record) {
7 if (!process_record_dynamic_macro(keycode, record)) {
13 if (record->event.pressed) {
15 ergodox_right_led_1_on();
18 ergodox_right_led_1_off();
26 if (record->event.pressed) {
28 ergodox_right_led_2_on();
31 ergodox_right_led_2_off();
39 if (record->event.pressed) {
41 ergodox_right_led_3_on();
44 ergodox_right_led_3_off();
51 case KC_MS_WH_UP ... KC_MS_WH_RIGHT:
52 if (record->event.pressed) {
61 if (record->event.pressed) {
62 SEND_STRING("QMK is the best thing ever!"); // this is our macro!
67 if (record->event.pressed) {
68 SEND_STRING(SS_LCTRL("ac")); // selects all and copies