mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 16:37:58 +06:00
Added arrow layout.
This commit is contained in:
parent
ee238f1219
commit
8bc771a842
|
@ -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) \
|
||||
)
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user