diff options
author | Stick <nstickney@gmail.com> | 2017-06-02 20:02:02 -0500 |
---|---|---|
committer | Stick <nstickney@gmail.com> | 2017-06-02 20:02:02 -0500 |
commit | f397402e101774eedd1748b1e31c7386f927d4ed (patch) | |
tree | 6dcc463471553ddc04d41b5f45f6a9de0bb19faf /keyboards/ergodox/keymaps | |
parent | 4cf17210b60eb7da77f66b8e5af1947a3d168f2f (diff) | |
download | qmk_firmware-f397402e101774eedd1748b1e31c7386f927d4ed.tar.gz qmk_firmware-f397402e101774eedd1748b1e31c7386f927d4ed.zip |
ugly workaround for ErgoDoxEZ LED bugs: turn 'em all off
Diffstat (limited to 'keyboards/ergodox/keymaps')
-rw-r--r-- | keyboards/ergodox/keymaps/familiar/keymap.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/keyboards/ergodox/keymaps/familiar/keymap.c b/keyboards/ergodox/keymaps/familiar/keymap.c index 714118d93e..513bb5541c 100644 --- a/keyboards/ergodox/keymaps/familiar/keymap.c +++ b/keyboards/ergodox/keymaps/familiar/keymap.c @@ -56,7 +56,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { MT(MOD_RALT, KC_LBRC), KC_RBRC, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR, _______, KC_NLCK, - TG(NUMP), LT(ARRW, C_BSLS), KC_SPC + TG(NUMP), LT(ARRW, KC_BSLS), KC_SPC ), /* layer 1: International symbols, etc @@ -242,26 +242,26 @@ void matrix_init_user(void) { // Runs constantly in the background, in a loop. void matrix_scan_user(void) { - uint8_t layer = biton32(layer_state); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - case INTL: - case INSF: - ergodox_right_led_1_on(); - break; - case NUMP: - ergodox_right_led_2_on(); - break; - case ARRW: - ergodox_right_led_3_on(); - break; - default: - // none - break; - } + // uint8_t layer = biton32(layer_state); + // + // ergodox_board_led_off(); + // ergodox_right_led_1_off(); + // ergodox_right_led_2_off(); + // ergodox_right_led_3_off(); + // switch (layer) { + // case INTL: + // case INSF: + // ergodox_right_led_1_on(); + // break; + // case NUMP: + // ergodox_right_led_2_on(); + // break; + // case ARRW: + // ergodox_right_led_3_on(); + // break; + // default: + // // none + // break; + // } }; |