2019-01-05 06:47:13 +01:00
|
|
|
#include QMK_KEYBOARD_H
|
2017-06-11 03:04:16 +02:00
|
|
|
|
|
|
|
#define _BL 0
|
|
|
|
#define _AL 1
|
|
|
|
#define _FL 2
|
|
|
|
#define _UL 3
|
|
|
|
|
2019-01-05 06:47:13 +01:00
|
|
|
#define FL_CAPS LT(_FL, KC_CAPS) // Tap to toggle caps lock and hold to activate function layer
|
|
|
|
|
2017-06-11 03:04:16 +02:00
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
/* 0: Main layer, swapped alt and GUI for Mac
|
2019-01-05 06:47:13 +01:00
|
|
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
|
|
|
|
* │GE │1 !│2 @│3 #│4 $│5 %│6 ^│7 &│8 *│9 (│0 )│- _│= +│Bksp │Del│
|
|
|
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
|
|
|
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │[ {│] }│\ | │End│
|
|
|
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
|
|
|
* │FnCaps│ A │ S │ D │ F │ G │ H │ J │ K │ L │; :│' "│Enter │PUp│
|
|
|
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
|
|
|
* │Shift │ Z │ X │ C │ V │ B │ N │ M │, <│. >│/ ?│Shift │Up │PDn│
|
|
|
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
|
2019-01-30 00:28:37 +01:00
|
|
|
* │Ctrl│GUI │Alt │Space │Alt│Fn │Ctl│Lft│Dwn│Rgt│
|
2019-01-05 06:47:13 +01:00
|
|
|
* └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
|
2017-06-11 03:04:16 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* 0: ANSI qwerty */
|
2019-01-05 06:47:13 +01:00
|
|
|
[_BL] = LAYOUT_65_ansi(
|
2022-10-21 03:04:11 +02:00
|
|
|
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
|
2021-12-14 13:41:16 +01:00
|
|
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END,
|
|
|
|
FL_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
|
|
|
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
|
|
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
2019-01-05 06:47:13 +01:00
|
|
|
),
|
2017-06-11 03:04:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* 1: Locking arrow keys to WASD for when you need dedicated arrow keys
|
2019-01-05 06:47:13 +01:00
|
|
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
|
|
|
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
|
|
|
* │ │ │Up │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
|
|
|
* │ │Lft│Dwn│Rgt│ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
|
|
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
|
2019-01-30 00:28:37 +01:00
|
|
|
* │ │Swp │Nrm │ │ │ │ │ │ │ │
|
2019-01-05 06:47:13 +01:00
|
|
|
* └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
|
2017-06-11 03:04:16 +02:00
|
|
|
*/
|
|
|
|
|
2019-01-05 06:47:13 +01:00
|
|
|
[_AL] = LAYOUT_65_ansi(
|
2021-12-14 13:41:16 +01:00
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, AG_SWAP, AG_NORM, _______, _______, _______, _______, _______, _______, _______
|
2019-01-05 06:47:13 +01:00
|
|
|
),
|
|
|
|
|
2017-06-11 03:04:16 +02:00
|
|
|
|
|
|
|
/* 2: Fn layer
|
2019-01-05 06:47:13 +01:00
|
|
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
|
|
|
|
* │` ~│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │ │
|
|
|
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
|
|
|
* │ │_AL│Up │ │ │ │ │ │PUp│PDn│PSc│SLk│Pau│ │ │
|
|
|
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
|
|
|
* │ │Lft│Dwn│Rgt│ │ │Lft│Dwn│Up │Rgt│ │ │ │ │
|
|
|
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
|
|
|
* │ │_UL│ │ │ │ │ │ │Hm │End│ │ │VUp│ │
|
|
|
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
|
|
|
|
* │ │ │ │ │ │ │ │Mut│VDn│Ply│
|
|
|
|
* └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
|
2017-06-11 03:04:16 +02:00
|
|
|
*/
|
|
|
|
|
2019-01-05 06:47:13 +01:00
|
|
|
[_FL] = LAYOUT_65_ansi(
|
2021-12-14 13:41:16 +01:00
|
|
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
2022-10-15 23:29:43 +02:00
|
|
|
_______, TG(_AL), KC_UP, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, KC_PSCR, KC_SCRL, KC_PAUS, _______, _______,
|
2021-12-14 13:41:16 +01:00
|
|
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, _______,
|
|
|
|
_______, TG(_UL), _______, _______, _______, _______, _______, _______, KC_HOME, KC_END, _______, _______, KC_VOLU, _______,
|
|
|
|
_______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_MPLY
|
2019-01-05 06:47:13 +01:00
|
|
|
),
|
|
|
|
|
2017-06-11 03:04:16 +02:00
|
|
|
|
|
|
|
/* 3: Locking layer for controlling the underglow
|
2019-01-05 06:47:13 +01:00
|
|
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
|
|
|
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
|
|
|
* │ │BTg│BSt│ │ │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
|
|
|
* │ │RTg│RMd│ │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
|
|
|
* │ │ │RH+│RH-│RS+│RS-│RV+│RV-│ │ │ │ │ │ │
|
|
|
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
|
|
|
|
* │ │ │ │ │ │ │ │ │ │ │
|
|
|
|
* └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
|
2017-06-11 03:04:16 +02:00
|
|
|
*/
|
|
|
|
|
2019-01-05 06:47:13 +01:00
|
|
|
[_UL] = LAYOUT_65_ansi(
|
2021-12-14 13:41:16 +01:00
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, _______, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______,
|
|
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
2019-01-05 06:47:13 +01:00
|
|
|
),
|
2017-06-11 03:04:16 +02:00
|
|
|
};
|