diff options
author | Daniel <danielallendeutsch@gmail.com> | 2017-01-01 20:09:30 -0700 |
---|---|---|
committer | Daniel <danielallendeutsch@gmail.com> | 2017-01-01 20:09:30 -0700 |
commit | acffbb480f616f87889698230c35284cc54c45dd (patch) | |
tree | 8b7c8d325d3d74a553efb5fcfd543d0604628b6c /keyboards/ergodox/keymaps | |
parent | 1f52dbcac01c37157c29038334e1f7b5be9bd4aa (diff) | |
download | qmk_firmware-acffbb480f616f87889698230c35284cc54c45dd.tar.gz qmk_firmware-acffbb480f616f87889698230c35284cc54c45dd.zip |
adds dedicated double-quote key.
Diffstat (limited to 'keyboards/ergodox/keymaps')
-rw-r--r-- | keyboards/ergodox/keymaps/common-nighthawk/keymap.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/keyboards/ergodox/keymaps/common-nighthawk/keymap.c b/keyboards/ergodox/keymaps/common-nighthawk/keymap.c index 5a1e46b7b0..debf384f3d 100644 --- a/keyboards/ergodox/keymaps/common-nighthawk/keymap.c +++ b/keyboards/ergodox/keymaps/common-nighthawk/keymap.c @@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // left hand KC_UNDS, KC_1, KC_1, KC_UNDS, KC_ESC, ALL_T(KC_NO), KC_HOME, CTL_T(KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_UP, - GUI_T(KC_QUOT), KC_A, KC_S, KC_D, KC_F, KC_G, + M(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_DOWN, KC_LALT, KC_1, KC_1, KC_1, KC_LEFT, RESET, KC_VOLU, @@ -166,13 +166,17 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) case 1: if (record->event.pressed) { sunds_timer = timer_read(); - register_code (KC_LSFT); + register_code (KC_LGUI); } else { if (timer_elapsed (sunds_timer) < TAPPING_TERM) { - register_code (KC_MINS); - unregister_code (KC_MINS); + unregister_code (KC_LGUI); + register_code (KC_LSFT); + register_code (KC_QUOT); + unregister_code (KC_QUOT); + unregister_code (KC_LSFT); + register_code (KC_LGUI); } - unregister_code (KC_LSFT); + unregister_code (KC_LGUI); } break; |