|
|
|
@ -1,5 +1,3 @@
|
|
|
|
|
// https://github.com/shanecelis/tmk_keyboard/blob/master/keyboard/planck/keymap_shane.c
|
|
|
|
|
|
|
|
|
|
#include "keymap_common.h"
|
|
|
|
|
#include "action_layer.h"
|
|
|
|
|
#include "action.h"
|
|
|
|
@ -11,30 +9,30 @@
|
|
|
|
|
*/
|
|
|
|
|
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
|
[0] = KEYMAP_AND_SWAP( /* Base */
|
|
|
|
|
TAB, Q, W, E, R, T, Y, U, I, O, P, MINS,
|
|
|
|
|
LCTL, A, S, D, F, G, H, J, K, L, SCLN, BSPC,
|
|
|
|
|
LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, FN5,
|
|
|
|
|
/*ALPHA*/FN3, /*HYPER*/ /*SUPER*/LGUI, /*META*/LALT, LCTL, FN2, FN6, FN1, LEFT, DOWN, UP, RGHT),
|
|
|
|
|
TAB, Q, W, E, R, T, Y, U, I, O, P, MINS,
|
|
|
|
|
LCTL, A, S, D, F, G, H, J, K, L, SCLN, BSPC,
|
|
|
|
|
LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, FN5,
|
|
|
|
|
/*ALPHA*/FN3, /*HYPER*/ /*SUPER*/LGUI, /*META*/LALT, LCTL, FN2, FN6, FN1, LEFT, DOWN, UP, RGHT),
|
|
|
|
|
[2] = KEYMAP_AND_SWAP( /* More modifiers */
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, RCTL, RALT, RGUI, TRNS),
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, RCTL, RALT, RGUI, TRNS),
|
|
|
|
|
[4] = KEYMAP_AND_SWAP( /* WASD */
|
|
|
|
|
TRNS, TRNS, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, LEFT, DOWN, RIGHT, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
|
|
|
|
TRNS, TRNS, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, LEFT, DOWN, RIGHT, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
|
|
|
|
[6] = KEYMAP_AND_SWAP( /* Raise/FN1 */
|
|
|
|
|
FN23, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, EQL,
|
|
|
|
|
TRNS, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, ENT,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, BSLS, TRNS,
|
|
|
|
|
PAUS, TRNS, TRNS, TRNS, TRNS, BSPC, TRNS, MUTE, PGUP, PGDN, MNXT),
|
|
|
|
|
FN23, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, EQL,
|
|
|
|
|
TRNS, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, ENT,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, BSLS, TRNS,
|
|
|
|
|
PAUS, TRNS, TRNS, TRNS, TRNS, BSPC, TRNS, MUTE, PGUP, PGDN, MNXT),
|
|
|
|
|
[8] = KEYMAP_AND_SWAP( /* Lower/FN2 */
|
|
|
|
|
ESC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN19, FN20, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, QUOT,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN24, FN25, LBRC, RBRC, TRNS, TRNS,
|
|
|
|
|
FN4, TRNS, TRNS, TRNS, TRNS, ENT, TRNS, MPLY, VOLD, VOLU, MPRV),
|
|
|
|
|
ESC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN19, FN20, TRNS,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, QUOT,
|
|
|
|
|
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN24, FN25, LBRC, RBRC, TRNS, TRNS,
|
|
|
|
|
FN4, TRNS, TRNS, TRNS, TRNS, ENT, TRNS, MPLY, VOLD, VOLU, MPRV),
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
enum function_id {
|
|
|
|
@ -97,4 +95,4 @@ const uint16_t PROGMEM fn_actions[] = {
|
|
|
|
|
[24] = ACTION_MODS_KEY(MOD_LSFT, KC_LBRC),
|
|
|
|
|
[25] = ACTION_MODS_KEY(MOD_LSFT, KC_RBRC),
|
|
|
|
|
[26] = ACTION_MODS_KEY(MOD_LSFT, KC_BSLS),
|
|
|
|
|
};
|
|
|
|
|
};
|