1
0
Fork 0

[keymap] upstreaming a minor keymap update (#9366)

This commit is contained in:
Callum Oakley 2020-06-13 12:11:28 +01:00 committed by GitHub
parent 4057d44989
commit d1730ec760
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 15 deletions

View file

@ -75,11 +75,20 @@
#define tabr G(S(KC_RBRC)) #define tabr G(S(KC_RBRC))
#define fwd G(KC_RBRC) #define fwd G(KC_RBRC)
#define back G(KC_LBRC) #define back G(KC_LBRC)
#define dtl C(KC_LEFT)
#define dtr C(KC_RGHT)
#define slup S(A(KC_UP)) #define slup S(A(KC_UP))
#define sldn S(A(KC_DOWN)) #define sldn S(A(KC_DOWN))
#define ctl1 C(KC_1)
#define ctl2 C(KC_2)
#define ctl3 C(KC_3)
#define ctl4 C(KC_4)
#define ctl5 C(KC_5)
#define ctl6 C(KC_6)
#define ctl7 C(KC_7)
#define ctl8 C(KC_8)
#define ctl9 C(KC_9)
#define ctl0 C(KC_0)
#define f1 KC_F1 #define f1 KC_F1
#define f2 KC_F2 #define f2 KC_F2
#define f3 KC_F3 #define f3 KC_F3
@ -105,8 +114,8 @@
#define next KC_MNXT #define next KC_MNXT
#define play KC_MPLY #define play KC_MPLY
#define prev KC_MPRV #define prev KC_MPRV
#define vold KC_F11 #define vold KC_VOLD
#define volu KC_F12 #define volu KC_VOLU
#define symb MO(SYMB) #define symb MO(SYMB)
#define move MO(MOVE) #define move MO(MOVE)
@ -168,9 +177,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
), ),
[MOVE] = LAYOUT_planck_grid( [MOVE] = LAYOUT_planck_grid(
esc, xxxx, slup, dtl, dtr, xxxx, xxxx, home, up, end, xxxx, caps, esc, ctl1, ctl2, ctl3, ctl4, xxxx, xxxx, home, up, end, ctl7, caps,
del, xxxx, sldn, tabl, tabr, xxxx, xxxx, left, down, rght, xxxx, xxxx, del, ctl5, slup, tabl, tabr, xxxx, xxxx, left, down, rght, ctl8, xxxx,
____, xxxx, xxxx, back, fwd, xxxx, xxxx, pgdn, pgup, xxxx, xxxx, ____, ____, ctl6, sldn, back, fwd, xxxx, xxxx, pgdn, pgup, ctl0, ctl9, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____ ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____
), ),

View file

@ -26,13 +26,5 @@ This is a layout for the grid planck, built with a few ideals in mind:
higher ones. (number arrangement borrowed from [dustypomeleau's minidox higher ones. (number arrangement borrowed from [dustypomeleau's minidox
layout][]. layout][].
Layout rendered with [keyboard-layout-editor.com][]:
![](https://callumoakley.net/images/keymap.png)
The only behaviour not captured in this graphic is: pressing both cmd keys will
send cmd+ctrl. See [keymap.c][] for details.
[dustypomeleau's minidox layout]: https://github.com/qmk/qmk_firmware/tree/master/keyboards/minidox/keymaps/dustypomerleau [dustypomeleau's minidox layout]: https://github.com/qmk/qmk_firmware/tree/master/keyboards/minidox/keymaps/dustypomerleau
[keyboard-layout-editor.com]: http://www.keyboard-layout-editor.com
[keymap.c]: keymap.c [keymap.c]: keymap.c