diff options
Diffstat (limited to 'keyboard/planck')
-rw-r--r-- | keyboard/planck/keymaps/kj/kj.c (renamed from keyboard/planck/keymaps/kj.c) | 23 | ||||
-rw-r--r-- | keyboard/planck/keymaps/kj/makefile.mk | 2 |
2 files changed, 16 insertions, 9 deletions
diff --git a/keyboard/planck/keymaps/kj.c b/keyboard/planck/keymaps/kj/kj.c index 2bc7186c8f..c6c3d69c12 100644 --- a/keyboard/planck/keymaps/kj.c +++ b/keyboard/planck/keymaps/kj/kj.c @@ -1,6 +1,3 @@ -// This is the canonical layout file for the Quantum project. If you want to add another keyboard, -// this is the style you want to emulate. - #include "planck.h" #ifdef BACKLIGHT_ENABLE #include "backlight.h" @@ -12,8 +9,9 @@ // entirely and just use numbers. #define _DV 0 #define _QW 1 -#define _LW 2 -#define _RS 3 +#define _FN 3 +#define _LW 4 +#define _RS 5 #define _SHIFT 1 #define _AA 2 @@ -26,14 +24,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { {KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC}, {KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_ENT}, {M(_SHIFT), KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_SLSH }, - {KC_ESC, KC_LCTL, KC_LGUI, KC_LALT, MO(_LW), KC_SPC, KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} + {TG(_FN), KC_LCTL, KC_LGUI, KC_LALT, MO(_LW), KC_SPC, KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} }, [_QW] = { {KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC}, - {KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT}, - {KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, - {M(0), KC_LCTL, KC_LALT, KC_LGUI, MO(_LW), KC_SPC, KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} + {KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT}, + {M(_SHIFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT }, + {M(0), KC_LCTL, KC_LGUI, KC_LALT, MO(_LW), KC_SPC, KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} +}, + +[_FN] = { + {KC_ACL2, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS,}, + {KC_ACL1, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_MS_BTN2,}, + {KC_ACL0, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,}, + {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TG(_LW), KC_MS_BTN1, KC_TRNS, TG(_RS), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,}, }, [_LW] = { diff --git a/keyboard/planck/keymaps/kj/makefile.mk b/keyboard/planck/keymaps/kj/makefile.mk new file mode 100644 index 0000000000..99fbfbd0bb --- /dev/null +++ b/keyboard/planck/keymaps/kj/makefile.mk @@ -0,0 +1,2 @@ +AUDIO_ENABLE = yes +NKRO_ENABLE = yes
\ No newline at end of file |