diff options
author | Fredric Silberberg <fred@silberberg.xyz> | 2018-08-18 19:38:44 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-19 13:09:31 -0700 |
commit | 8bc771a84247b59ab924cc241f455beec6384362 (patch) | |
tree | 459b4cf03d2e6e727c3c7540dc0c906399213ada | |
parent | ee238f121986277eee0124b852db6755b3ee5c04 (diff) | |
download | qmk_firmware-8bc771a84247b59ab924cc241f455beec6384362.tar.gz qmk_firmware-8bc771a84247b59ab924cc241f455beec6384362.zip |
Added arrow layout.
-rw-r--r-- | keyboards/zen/keymaps/333fred/keymap.c | 27 | ||||
-rw-r--r-- | users/333fred/333fred.h | 1 |
2 files changed, 25 insertions, 3 deletions
diff --git a/keyboards/zen/keymaps/333fred/keymap.c b/keyboards/zen/keymaps/333fred/keymap.c index 5332062e04..eeab87ad31 100644 --- a/keyboards/zen/keymaps/333fred/keymap.c +++ b/keyboards/zen/keymaps/333fred/keymap.c @@ -81,7 +81,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * |------+------+------+------+------+------| |------+------+------+------+------+------| * | | | | | | | | | | | | | | * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | CTRL | | | | F | | | | | | | | | + * | CTRL | | | | | | | | | | | | | * |------+------+------+------+------+------| |------+------+------+------+------+------| * | Shift| Z | | | | | | | | | | | GUI | * |------+------+------+------+------+------+------..------+------+------+------+------+------+------| @@ -89,9 +89,30 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `------------------------------------------------..-----------------------------------------------' */ [GAME] = KEYMAP( \ + KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ + KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ + KC_LSFT, KC_Z, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LGUI, \ + KC_ENT, TG(GAME_ARROW), KC_LOCK, KC_BSPC, KC_F5, KC_LALT, KC_SPC, OSL(SYMB), KC_F6, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, TO(BASE) \ +), +/* Gaming Arrow mode (Raise) + * Turns wasd into arrows + * ,-----------------------------------------. .-----------------------------------------. + * | ESC | | | | | | | | | | | | | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | | | Up | | | | | | | | | | | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | CTRL | Left | Down | Right| | | | | | | | | | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Shift| Z | | | | | | | | | | | GUI | + * |------+------+------+------+------+------+------..------+------+------+------+------+------+------| + * | Enter| | Lock | Bksp | Alt | Spc | RESET|| | Lower| Left | Up | Down | Right|QWERTY| + * `------------------------------------------------..-----------------------------------------------' + */ +[GAME_ARROW] = KEYMAP( \ KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ - KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ + _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ + KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, \ KC_LSFT, KC_Z, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LGUI, \ KC_ENT, _______, KC_LOCK, KC_BSPC, KC_F5, KC_LALT, KC_SPC, OSL(SYMB), KC_F6, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, TO(BASE) \ ) diff --git a/users/333fred/333fred.h b/users/333fred/333fred.h index 8599198a57..3b6f21133b 100644 --- a/users/333fred/333fred.h +++ b/users/333fred/333fred.h @@ -8,6 +8,7 @@ #define MDIA 3 // media keys #define VIM 4 #define GAME 5 +#define GAME_ARROW 6 // Tap dance config shared between my keyboards enum tap_dance_declarations { |