VIA Protocol 12 + fixes (#19916)
Co-authored-by: Wilba <wilba@wilba.tech> Co-authored-by: zvecr <git@zvecr.com>
This commit is contained in:
parent
403b0addea
commit
7f805cc779
|
@ -0,0 +1,132 @@
|
||||||
|
{
|
||||||
|
"keycodes": {
|
||||||
|
"0x7E00": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_0",
|
||||||
|
},
|
||||||
|
"0x7E01": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_1",
|
||||||
|
},
|
||||||
|
"0x7E02": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_2",
|
||||||
|
},
|
||||||
|
"0x7E03": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_3",
|
||||||
|
},
|
||||||
|
"0x7E04": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_4",
|
||||||
|
},
|
||||||
|
"0x7E05": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_5",
|
||||||
|
},
|
||||||
|
"0x7E06": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_6",
|
||||||
|
},
|
||||||
|
"0x7E07": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_7",
|
||||||
|
},
|
||||||
|
"0x7E08": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_8",
|
||||||
|
},
|
||||||
|
"0x7E09": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_9",
|
||||||
|
},
|
||||||
|
"0x7E0A": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_10",
|
||||||
|
},
|
||||||
|
"0x7E0B": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_11",
|
||||||
|
},
|
||||||
|
"0x7E0C": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_12",
|
||||||
|
},
|
||||||
|
"0x7E0D": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_13",
|
||||||
|
},
|
||||||
|
"0x7E0E": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_14",
|
||||||
|
},
|
||||||
|
"0x7E0F": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_15",
|
||||||
|
},
|
||||||
|
"0x7E10": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_16",
|
||||||
|
},
|
||||||
|
"0x7E11": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_17",
|
||||||
|
},
|
||||||
|
"0x7E12": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_18",
|
||||||
|
},
|
||||||
|
"0x7E13": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_19",
|
||||||
|
},
|
||||||
|
"0x7E14": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_20",
|
||||||
|
},
|
||||||
|
"0x7E15": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_21",
|
||||||
|
},
|
||||||
|
"0x7E16": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_22",
|
||||||
|
},
|
||||||
|
"0x7E17": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_23",
|
||||||
|
},
|
||||||
|
"0x7E18": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_24",
|
||||||
|
},
|
||||||
|
"0x7E19": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_25",
|
||||||
|
},
|
||||||
|
"0x7E1A": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_26",
|
||||||
|
},
|
||||||
|
"0x7E1B": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_27",
|
||||||
|
},
|
||||||
|
"0x7E1C": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_28",
|
||||||
|
},
|
||||||
|
"0x7E1D": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_29",
|
||||||
|
},
|
||||||
|
"0x7E1E": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_30",
|
||||||
|
},
|
||||||
|
"0x7E1F": {
|
||||||
|
"group": "kb",
|
||||||
|
"key": "QK_KB_31",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,132 @@
|
||||||
|
{
|
||||||
|
"keycodes": {
|
||||||
|
"0x7F00": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_0",
|
||||||
|
},
|
||||||
|
"0x7F01": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_1",
|
||||||
|
},
|
||||||
|
"0x7F02": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_2",
|
||||||
|
},
|
||||||
|
"0x7F03": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_3",
|
||||||
|
},
|
||||||
|
"0x7F04": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_4",
|
||||||
|
},
|
||||||
|
"0x7F05": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_5",
|
||||||
|
},
|
||||||
|
"0x7F06": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_6",
|
||||||
|
},
|
||||||
|
"0x7F07": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_7",
|
||||||
|
},
|
||||||
|
"0x7F08": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_8",
|
||||||
|
},
|
||||||
|
"0x7F09": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_9",
|
||||||
|
},
|
||||||
|
"0x7F0A": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_10",
|
||||||
|
},
|
||||||
|
"0x7F0B": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_11",
|
||||||
|
},
|
||||||
|
"0x7F0C": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_12",
|
||||||
|
},
|
||||||
|
"0x7F0D": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_13",
|
||||||
|
},
|
||||||
|
"0x7F0E": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_14",
|
||||||
|
},
|
||||||
|
"0x7F0F": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_15",
|
||||||
|
},
|
||||||
|
"0x7F10": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_16",
|
||||||
|
},
|
||||||
|
"0x7F11": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_17",
|
||||||
|
},
|
||||||
|
"0x7F12": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_18",
|
||||||
|
},
|
||||||
|
"0x7F13": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_19",
|
||||||
|
},
|
||||||
|
"0x7F14": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_20",
|
||||||
|
},
|
||||||
|
"0x7F15": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_21",
|
||||||
|
},
|
||||||
|
"0x7F16": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_22",
|
||||||
|
},
|
||||||
|
"0x7F17": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_23",
|
||||||
|
},
|
||||||
|
"0x7F18": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_24",
|
||||||
|
},
|
||||||
|
"0x7F19": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_25",
|
||||||
|
},
|
||||||
|
"0x7F1A": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_26",
|
||||||
|
},
|
||||||
|
"0x7F1B": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_27",
|
||||||
|
},
|
||||||
|
"0x7F1C": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_28",
|
||||||
|
},
|
||||||
|
"0x7F1D": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_29",
|
||||||
|
},
|
||||||
|
"0x7F1E": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_30",
|
||||||
|
},
|
||||||
|
"0x7F1F": {
|
||||||
|
"group": "user",
|
||||||
|
"key": "QK_USER_31",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
|
@ -22,8 +22,8 @@ enum layers {
|
||||||
_ADJUST,
|
_ADJUST,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
/* Qwerty
|
/* Qwerty
|
||||||
|
|
|
@ -30,7 +30,7 @@ enum layer_names {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
VERSION = USER00
|
VERSION = QK_KB_0
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
|
@ -35,11 +35,7 @@
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
# ifndef NO_CHARYBDIS_KEYCODES
|
# ifndef NO_CHARYBDIS_KEYCODES
|
||||||
enum charybdis_keycodes {
|
enum charybdis_keycodes {
|
||||||
# ifdef VIA_ENABLE
|
POINTER_DEFAULT_DPI_FORWARD = QK_KB_0,
|
||||||
POINTER_DEFAULT_DPI_FORWARD = USER00,
|
|
||||||
# else
|
|
||||||
POINTER_DEFAULT_DPI_FORWARD = SAFE_RANGE,
|
|
||||||
# endif // VIA_ENABLE
|
|
||||||
POINTER_DEFAULT_DPI_REVERSE,
|
POINTER_DEFAULT_DPI_REVERSE,
|
||||||
POINTER_SNIPING_DPI_FORWARD,
|
POINTER_SNIPING_DPI_FORWARD,
|
||||||
POINTER_SNIPING_DPI_REVERSE,
|
POINTER_SNIPING_DPI_REVERSE,
|
||||||
|
|
|
@ -32,11 +32,7 @@
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
# ifndef NO_DILEMMA_KEYCODES
|
# ifndef NO_DILEMMA_KEYCODES
|
||||||
enum dilemma_keycodes {
|
enum dilemma_keycodes {
|
||||||
# ifdef VIA_ENABLE
|
POINTER_DEFAULT_DPI_FORWARD = QK_KB_0,
|
||||||
POINTER_DEFAULT_DPI_FORWARD = USER00,
|
|
||||||
# else
|
|
||||||
POINTER_DEFAULT_DPI_FORWARD = SAFE_RANGE,
|
|
||||||
# endif // VIA_ENABLE
|
|
||||||
POINTER_DEFAULT_DPI_REVERSE,
|
POINTER_DEFAULT_DPI_REVERSE,
|
||||||
POINTER_SNIPING_DPI_FORWARD,
|
POINTER_SNIPING_DPI_FORWARD,
|
||||||
POINTER_SNIPING_DPI_REVERSE,
|
POINTER_SNIPING_DPI_REVERSE,
|
||||||
|
|
|
@ -25,7 +25,7 @@ typedef union {
|
||||||
|
|
||||||
// Start these at the USER code range in VIA
|
// Start these at the USER code range in VIA
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
ENC_PRESS = USER00,
|
ENC_PRESS = QK_KB_0,
|
||||||
CLOCK_SET,
|
CLOCK_SET,
|
||||||
OLED_TOGG
|
OLED_TOGG
|
||||||
};
|
};
|
||||||
|
|
|
@ -41,7 +41,7 @@ static bool led_indicator_enable = true;
|
||||||
|
|
||||||
// Defines the keycodes used by our macros in process_record_user
|
// Defines the keycodes used by our macros in process_record_user
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
SHIFT_L = USER00,
|
SHIFT_L = QK_KB_0,
|
||||||
SHIFT_R,
|
SHIFT_R,
|
||||||
TGLINDI, // ToGgLe INDIcator
|
TGLINDI, // ToGgLe INDIcator
|
||||||
TGLINTR, // ToGgLe INdicator location {(_KEY01, _KEY13, _KEY25, _KEY37) or (_KEY02, _KEY14, _KEY26) / (_KEY12, _KEY24, _KEY36)}in TRans mode
|
TGLINTR, // ToGgLe INdicator location {(_KEY01, _KEY13, _KEY25, _KEY37) or (_KEY02, _KEY14, _KEY26) / (_KEY12, _KEY24, _KEY36)}in TRans mode
|
||||||
|
|
|
@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
|
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
|
||||||
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
|
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
|
||||||
KC_LGUI, FN_MO13, KC_SPC, KC_ENT, FN_MO23, KC_RALT
|
KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RALT
|
||||||
//`--------------------------' `--------------------------'
|
//`--------------------------' `--------------------------'
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
|
@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
|
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
|
||||||
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
|
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
|
||||||
KC_LGUI, FN_MO13, KC_SPC, KC_ENT, FN_MO23, KC_RALT
|
KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RALT
|
||||||
//`--------------------------' `--------------------------'
|
//`--------------------------' `--------------------------'
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
|
@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
|
||||||
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_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,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||||
KC_NO, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
KC_NO, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Lower
|
/* Lower
|
||||||
|
|
|
@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_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_ENT,
|
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, 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_QUOT,
|
||||||
KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Lower
|
/* Lower
|
||||||
|
|
|
@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_KP_EQUAL, KC_7, KC_8, KC_9, 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_KP_EQUAL, KC_7, KC_8, KC_9, 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_KP_MINUS, KC_4, KC_5, KC_6, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
KC_KP_MINUS, KC_4, KC_5, KC_6, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||||
KC_KP_PLUS, KC_1, KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
KC_KP_PLUS, KC_1, KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||||
KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Lower
|
/* Lower
|
||||||
|
|
|
@ -12,7 +12,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_RBRC, 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_INS, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_INS, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||||
KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_ENT, FN_MO23, KC_RALT, KC_MENU, KC_RCTL, KC_RSFT
|
KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RALT, KC_MENU, KC_RCTL, KC_RSFT
|
||||||
),
|
),
|
||||||
[NUM] = LAYOUT(
|
[NUM] = LAYOUT(
|
||||||
KC_DEL, 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_DEL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
|
||||||
|
@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
),
|
),
|
||||||
[CONF] = LAYOUT(
|
[CONF] = LAYOUT(
|
||||||
QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
USER00, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
QK_USER_0, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
),
|
),
|
||||||
|
@ -50,8 +50,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case USER00:
|
case QK_USER_0:
|
||||||
// via user keycode USER00 : toggle leds enable
|
// via user keycode QK_USER : toggle leds enable
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
lain_enable_leds_toggle();
|
lain_enable_leds_toggle();
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
2-3: Layor indicator
|
2-3: Layor indicator
|
||||||
|
|
||||||
## Via user keycode
|
## Via user keycode
|
||||||
USER00 : toggle leds enable
|
USER(0) : toggle leds enable
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_PGUP,
|
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_PGUP,
|
||||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOTE, KC_ENTER, KC_PGDN,
|
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOTE, KC_ENTER, KC_PGDN,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RSFT, KC_UP, KC_END,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RSFT, KC_UP, KC_END,
|
||||||
KC_CAPS,KC_LGUI,FN_MO13, KC_SPACE, FN_MO23, KC_LALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
KC_CAPS,KC_LGUI,TL_LOWR, KC_SPACE, TL_UPPR, KC_LALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
),
|
),
|
||||||
[_VIM_EDITING_LAYER] = LAYOUT_65_ansi(
|
[_VIM_EDITING_LAYER] = LAYOUT_65_ansi(
|
||||||
KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DELETE, KC_INSERT,
|
KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DELETE, KC_INSERT,
|
||||||
|
|
|
@ -25,7 +25,7 @@ enum layer_names {
|
||||||
|
|
||||||
// Defines the keycodes used by our macros in process_record_user
|
// Defines the keycodes used by our macros in process_record_user
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
SHILL = USER00,
|
SHILL = QK_KB_0,
|
||||||
NUT,
|
NUT,
|
||||||
FRACNO
|
FRACNO
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_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_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_RSFT,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||||
XXXXXXX, KC_LCTL, KC_LGUI, KC_LALT, FN_MO13, KC_SPC, KC_ENT, FN_MO23, KC_RALT, KC_RGUI, KC_RCTL, XXXXXXX
|
XXXXXXX, KC_LCTL, KC_LGUI, KC_LALT, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RALT, KC_RGUI, KC_RCTL, XXXXXXX
|
||||||
),
|
),
|
||||||
|
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT(
|
||||||
|
|
|
@ -58,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_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_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_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
|
||||||
KC_LGUI, KC_LALT, FN_MO13, KC_SPC, KC_LCTL, KC_ENT, KC_SPC,FN_MO23, KC_RALT, KC_RGUI
|
KC_LGUI, KC_LALT, TL_LOWR, KC_SPC, KC_LCTL, KC_ENT, KC_SPC,TL_UPPR, KC_RALT, KC_RGUI
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Lower
|
/* Lower
|
||||||
|
|
|
@ -20,12 +20,12 @@ bool is_alt_tab_active = false;
|
||||||
uint16_t alt_tab_timer = 0;
|
uint16_t alt_tab_timer = 0;
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
ALT_TAB = USER00,
|
ALT_TAB = QK_KB_0,
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[0] = LAYOUT_ortho_2x4(
|
[0] = LAYOUT_ortho_2x4(
|
||||||
LT(1, KC_MUTE), KC_VOLD, KC_VOLU, MACRO00,
|
LT(1, KC_MUTE), KC_VOLD, KC_VOLU, MC_0,
|
||||||
ALT_TAB, KC_MPRV, KC_MNXT, KC_MPLY
|
ALT_TAB, KC_MPRV, KC_MNXT, KC_MPLY
|
||||||
),
|
),
|
||||||
[1] = LAYOUT_ortho_2x4(
|
[1] = LAYOUT_ortho_2x4(
|
||||||
|
|
|
@ -141,7 +141,7 @@ enum custom_keycodes {
|
||||||
|
|
||||||
MY_CHORD_MAX = MI_CH_BDim7,
|
MY_CHORD_MAX = MI_CH_BDim7,
|
||||||
|
|
||||||
VERSION = USER00
|
VERSION = QK_KB_0
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MY_CHORD_COUNT (MY_CHORD_MAX - MY_CHORD_MIN + 1)
|
#define MY_CHORD_COUNT (MY_CHORD_MAX - MY_CHORD_MIN + 1)
|
||||||
|
|
|
@ -141,7 +141,7 @@ enum custom_keycodes {
|
||||||
|
|
||||||
MY_CHORD_MAX = MI_CH_BDim7,
|
MY_CHORD_MAX = MI_CH_BDim7,
|
||||||
|
|
||||||
VERSION = USER00
|
VERSION = QK_KB_0
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MY_CHORD_COUNT (MY_CHORD_MAX - MY_CHORD_MIN + 1)
|
#define MY_CHORD_COUNT (MY_CHORD_MAX - MY_CHORD_MIN + 1)
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
#include "keymap_japanese.h"
|
#include "keymap_japanese.h"
|
||||||
|
|
||||||
#define RAISE FN_MO13
|
#define RAISE TL_LOWR
|
||||||
#define LOWER FN_MO23
|
#define LOWER TL_UPPR
|
||||||
|
|
||||||
// Defines names for use in layer keycodes and the keymap
|
// Defines names for use in layer keycodes and the keymap
|
||||||
enum layer_names {
|
enum layer_names {
|
||||||
|
@ -47,7 +47,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, _______, KC_Y, KC_U, KC_I, KC_O, KC_P, JP_AT , JP_LBRC, KC_BSPC,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, _______, KC_Y, KC_U, KC_I, KC_O, KC_P, JP_AT , JP_LBRC, KC_BSPC,
|
||||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, _______, KC_H, KC_J, KC_K, KC_L, KC_SCLN, JP_COLN, JP_RBRC, KC_ENT,
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, _______, KC_H, KC_J, KC_K, KC_L, KC_SCLN, JP_COLN, JP_RBRC, KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, KC_UP, KC_RSFT,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, KC_UP, KC_RSFT,
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, KC_SPC, FN_MO23, FN_MO13, KC_SPC, JP_HENK, JP_KANA, KC_APP, KC_LEFT, KC_DOWN, KC_RGHT
|
KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, KC_SPC, TL_UPPR, TL_LOWR, KC_SPC, JP_HENK, JP_KANA, KC_APP, KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
),
|
),
|
||||||
/* RAISE
|
/* RAISE
|
||||||
* ,--------------------------------------------------------------------------------------------------------------------------------------.
|
* ,--------------------------------------------------------------------------------------------------------------------------------------.
|
||||||
|
|
|
@ -25,11 +25,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum charybdis_keycodes {
|
enum charybdis_keycodes {
|
||||||
# ifdef VIA_ENABLE
|
POINTER_DEFAULT_DPI_FORWARD = QK_KB_0,
|
||||||
POINTER_DEFAULT_DPI_FORWARD = USER00,
|
|
||||||
# else
|
|
||||||
POINTER_DEFAULT_DPI_FORWARD = SAFE_RANGE,
|
|
||||||
# endif // VIA_ENABLE
|
|
||||||
POINTER_DEFAULT_DPI_REVERSE,
|
POINTER_DEFAULT_DPI_REVERSE,
|
||||||
POINTER_SNIPING_DPI_FORWARD,
|
POINTER_SNIPING_DPI_FORWARD,
|
||||||
POINTER_SNIPING_DPI_REVERSE,
|
POINTER_SNIPING_DPI_REVERSE,
|
||||||
|
|
|
@ -11,11 +11,7 @@ static bool buzzer_active = false;
|
||||||
static bool initial_keypress = false;
|
static bool initial_keypress = false;
|
||||||
|
|
||||||
enum custom_keycodes{
|
enum custom_keycodes{
|
||||||
#ifdef VIA_ENABLE
|
KC_HPTON = QK_KB_0,
|
||||||
KC_HPTON = USER00,
|
|
||||||
#else
|
|
||||||
KC_HPTON = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
KC_HPTOFF,
|
KC_HPTOFF,
|
||||||
KC_HPTTOG,
|
KC_HPTTOG,
|
||||||
KC_HPTRST,
|
KC_HPTRST,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum custom_keycodes{
|
enum custom_keycodes{
|
||||||
KC_HPTON = USER00,
|
KC_HPTON = QK_KB_0,
|
||||||
KC_HPTOFF,
|
KC_HPTOFF,
|
||||||
KC_HPTTOG,
|
KC_HPTTOG,
|
||||||
KC_HPTRST,
|
KC_HPTRST,
|
||||||
|
|
|
@ -32,8 +32,8 @@ enum custom_keycodes {
|
||||||
RGBRST
|
RGBRST
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@ enum custom_keycodes {
|
||||||
RGBRST
|
RGBRST
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
/* Qwerty
|
/* Qwerty
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum custom_keycodes {
|
|
||||||
FN_MO13 = SAFE_RANGE,
|
|
||||||
FN_MO23,
|
|
||||||
};
|
|
||||||
|
|
||||||
// more Layer Tap stuff
|
// more Layer Tap stuff
|
||||||
#define SPC_FN1 LT(1, KC_SPC)
|
#define SPC_FN1 LT(1, KC_SPC)
|
||||||
#define SPC_FN2 LT(2, KC_SPC)
|
#define SPC_FN2 LT(2, KC_SPC)
|
||||||
|
@ -29,7 +24,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT, KC_UP, KC_DEL,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT, KC_UP, KC_DEL,
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, SPC_FN2, FN_MO13, KC_LEFT, KC_DOWN, KC_RIGHT
|
KC_LCTL, KC_LGUI, KC_LALT, SPC_FN2, TL_LOWR, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Layer 2
|
/* Layer 2
|
||||||
|
@ -86,29 +81,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
_______, _______, _______, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI
|
_______, _______, _______, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|
||||||
switch (keycode) {
|
|
||||||
case FN_MO13:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
layer_on(1);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
} else {
|
|
||||||
layer_off(1);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
case FN_MO23:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
layer_on(2);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
} else {
|
|
||||||
layer_off(2);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
TRI_LAYER_ENABLE = yes
|
|
@ -9,7 +9,7 @@
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
KB_VRSN = USER09 // debug, type version
|
KB_VRSN = QK_KB_9 // debug, type version
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SPC_FN1 LT(1, KC_SPC)
|
#define SPC_FN1 LT(1, KC_SPC)
|
||||||
|
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT, KC_UP, KC_DEL,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT, KC_UP, KC_DEL,
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, SPC_FN2, FN_MO13, KC_LEFT, KC_DOWN, KC_RIGHT
|
KC_LCTL, KC_LGUI, KC_LALT, SPC_FN2, TL_LOWR, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Layer 1
|
/* Layer 1
|
||||||
|
|
|
@ -23,7 +23,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT, KC_UP, KC_DEL,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT, KC_UP, KC_DEL,
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, SPC_FN2, FN_MO13, KC_LEFT, KC_DOWN, KC_RIGHT
|
KC_LCTL, KC_LGUI, KC_LALT, SPC_FN2, TL_LOWR, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -26,7 +26,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
KB_ARRW = USER00, // toggle right modifiers are arrows feature
|
KB_ARRW = QK_KB_0, // toggle right modifiers are arrows feature
|
||||||
KB_RSFT, // right shift or up arrow
|
KB_RSFT, // right shift or up arrow
|
||||||
KB_RALT, // right alt or left arrow
|
KB_RALT, // right alt or left arrow
|
||||||
KB_RAPP, // menu or down arrow (Windows Menu)
|
KB_RAPP, // menu or down arrow (Windows Menu)
|
||||||
|
|
|
@ -22,7 +22,7 @@ bool ID61_process_special_k(uint16_t keycode, keyrecord_t *record, bool arrow_mo
|
||||||
bool is_raised = get_highest_layer(layer_state|default_layer_state) != 0;
|
bool is_raised = get_highest_layer(layer_state|default_layer_state) != 0;
|
||||||
|
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
set_keycode_raised(keycode - USER00, is_raised); // save for key release event
|
set_keycode_raised(keycode - QK_KB_0, is_raised); // save for key release event
|
||||||
if (is_raised) {
|
if (is_raised) {
|
||||||
// *** Fn keyed ***
|
// *** Fn keyed ***
|
||||||
if (arrow_mode) {
|
if (arrow_mode) {
|
||||||
|
@ -43,7 +43,7 @@ bool ID61_process_special_k(uint16_t keycode, keyrecord_t *record, bool arrow_mo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (get_keycode_raised(keycode - USER00)) {
|
if (get_keycode_raised(keycode - QK_KB_0)) {
|
||||||
// *** Fn keyed ***
|
// *** Fn keyed ***
|
||||||
if (arrow_mode) {
|
if (arrow_mode) {
|
||||||
// alternate key
|
// alternate key
|
||||||
|
|
|
@ -32,12 +32,12 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
RGB_TPK = USER00, // Toggle Per-Key
|
RGB_TPK = QK_KB_0, // Toggle Per-Key
|
||||||
#ifndef ID63_DISABLE_UNDERGLOW
|
#ifndef ID63_DISABLE_UNDERGLOW
|
||||||
RGB_TUG, // Toggle Underglow
|
RGB_TUG, // Toggle Underglow
|
||||||
#endif // ID63_DISABLE_UNDERGLOW
|
#endif // ID63_DISABLE_UNDERGLOW
|
||||||
#endif // RGB_MATRIX_ENABLE
|
#endif // RGB_MATRIX_ENABLE
|
||||||
KB_VRSN = USER09 // debug, type version
|
KB_VRSN = QK_KB_9 // debug, type version
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef RGB_MATRIX_ENABLE
|
#ifndef RGB_MATRIX_ENABLE
|
||||||
|
@ -73,7 +73,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_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,
|
||||||
SK_LT1C, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
|
SK_LT1C, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, FN_MO13, SK_LT2A, KC_LEFT, KC_DOWN, KC_RGHT
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, TL_LOWR, SK_LT2A, KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -25,12 +25,12 @@ typedef union {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
RGB_TPK = USER00, // Toggle Per-Key
|
RGB_TPK = QK_KB_0, // Toggle Per-Key
|
||||||
#ifndef ID67_DISABLE_UNDERGLOW
|
#ifndef ID67_DISABLE_UNDERGLOW
|
||||||
RGB_TUG, // Toggle Underglow
|
RGB_TUG, // Toggle Underglow
|
||||||
#endif // ID67_DISABLE_UNDERGLOW
|
#endif // ID67_DISABLE_UNDERGLOW
|
||||||
#endif //RGB_MATRIX_ENABLE
|
#endif //RGB_MATRIX_ENABLE
|
||||||
KB_VRSN = USER09 // debug, type version
|
KB_VRSN = QK_KB_9 // debug, type version
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef RGB_MATRIX_ENABLE
|
#ifndef RGB_MATRIX_ENABLE
|
||||||
|
|
|
@ -100,11 +100,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
|
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
|
||||||
*/
|
*/
|
||||||
[_FN3] = LAYOUT_65_ansi_blocker(
|
[_FN3] = LAYOUT_65_ansi_blocker(
|
||||||
QK_BOOT, MACRO01, MACRO02, MACRO03, MACRO04, MACRO05, MACRO06, MACRO07, MACRO08, MACRO09, MACRO10, MACRO11, MACRO12, KC_PWR, KC_F15,
|
QK_BOOT, MC_1, MC_2, MC_3, MC_4, MC_5, MC_6, MC_7, MC_8, MC_9, MC_10, MC_11, MC_12, KC_PWR, KC_F15,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_SLEP, XXXXXXX,
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_SLEP, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DB_TOGG, XXXXXXX,
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DB_TOGG, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KB_VRSN, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, MACRO00, XXXXXXX,
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KB_VRSN, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, MC_0, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, KC_WAKE, XXXXXXX, XXXXXXX, MACRO13, MACRO14, MACRO15)
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_WAKE, XXXXXXX, XXXXXXX, MC_13, MC_14, MC_15)
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
|
|
@ -30,10 +30,10 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
RGB_TPK = USER00, // Toggle Per-Key
|
RGB_TPK = QK_KB_0, // Toggle Per-Key
|
||||||
RGB_TUG, // Toggle Underglow
|
RGB_TUG, // Toggle Underglow
|
||||||
#endif // RGB_MATRIX_ENABLE
|
#endif // RGB_MATRIX_ENABLE
|
||||||
KB_VRSN = USER09 // debug, type version
|
KB_VRSN = QK_KB_9 // debug, type version
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef RGB_MATRIX_ENABLE
|
#ifndef RGB_MATRIX_ENABLE
|
||||||
|
|
|
@ -23,10 +23,10 @@ typedef union {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
RGB_TPK = USER00, // Toggle Per-Key
|
RGB_TPK = QK_KB_0, // Toggle Per-Key
|
||||||
RGB_TUG, // Toggle Underglow
|
RGB_TUG, // Toggle Underglow
|
||||||
#endif // RGB_MATRIX_ENABLE
|
#endif // RGB_MATRIX_ENABLE
|
||||||
KB_VRSN = USER09 // debug, type version
|
KB_VRSN = QK_KB_9 // debug, type version
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef RGB_MATRIX_ENABLE
|
#ifndef RGB_MATRIX_ENABLE
|
||||||
|
@ -103,8 +103,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
*/
|
*/
|
||||||
[2] = LAYOUT_tkl_ansi(
|
[2] = LAYOUT_tkl_ansi(
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
MACRO00, MACRO01, MACRO02, MACRO03, MACRO04, MACRO05, MACRO06, MACRO07, MACRO08, MACRO09, MACRO10, _______, _______, _______, _______, _______, _______,
|
MC_0, MC_1, MC_2, MC_3, MC_4, MC_5, MC_6, MC_7, MC_8, MC_9, MC_10, _______, _______, _______, _______, _______, _______,
|
||||||
_______, MACRO11, MACRO12, MACRO13, MACRO14, MACRO15, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, MC_11, MC_12, MC_13, MC_14, MC_15, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
|
|
@ -72,8 +72,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
*/
|
*/
|
||||||
[2] = LAYOUT_tkl_ansi(
|
[2] = LAYOUT_tkl_ansi(
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
MACRO00, MACRO01, MACRO02, MACRO03, MACRO04, MACRO05, MACRO06, MACRO07, MACRO08, MACRO09, MACRO10, _______, _______, _______, _______, _______, _______,
|
MC_0, MC_1, MC_2, MC_3, MC_4, MC_5, MC_6, MC_7, MC_8, MC_9, MC_10, _______, _______, _______, _______, _______, _______,
|
||||||
_______, MACRO11, MACRO12, MACRO13, MACRO14, MACRO15, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, MC_11, MC_12, MC_13, MC_14, MC_15, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ enum layer_names {
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[_MAIN] = LAYOUT(
|
[_MAIN] = LAYOUT(
|
||||||
RGB_MOD, // Big Switch
|
RGB_MOD, // Big Switch
|
||||||
FN_MO13, KC_MUTE, // Encoder presses
|
TL_LOWR, KC_MUTE, // Encoder presses
|
||||||
KC_DOWN, KC_UP, // Left encoder turns
|
KC_DOWN, KC_UP, // Left encoder turns
|
||||||
KC_VOLD, KC_VOLU // Right encoder turns
|
KC_VOLD, KC_VOLU // Right encoder turns
|
||||||
),
|
),
|
||||||
|
|
|
@ -19,7 +19,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
|
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_HOME, KC_END, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_HOME, KC_END, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||||
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
|
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
|
||||||
KC_LGUI, FN_MO13, KC_ENT, KC_SPC, FN_MO23, KC_RALT
|
KC_LGUI, TL_LOWR, KC_ENT, KC_SPC, TL_UPPR, KC_RALT
|
||||||
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
|
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_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_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 ,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
|
||||||
KC_GRV, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
KC_GRV, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
[1] = LAYOUT_ortho_4x12(
|
[1] = LAYOUT_ortho_4x12(
|
||||||
|
|
|
@ -20,7 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
|
||||||
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_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 ,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
|
||||||
MO(3), KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
MO(3), KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
[1] = LAYOUT_ortho_5x12(
|
[1] = LAYOUT_ortho_5x12(
|
||||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
|
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
|
||||||
|
|
|
@ -23,11 +23,7 @@
|
||||||
#include "quantum_keycodes.h"
|
#include "quantum_keycodes.h"
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
KC_LOPTN = QK_KB_2, // TECH DEBT: Starts at QK_KB_2 to maintain ordering with VIA definitions. See #19884. Revert to QK_KB_0 when VIA catches up with QMK.
|
||||||
KC_LOPTN = USER00,
|
|
||||||
#else
|
|
||||||
KC_LOPTN = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
KC_ROPTN,
|
KC_ROPTN,
|
||||||
KC_LCMMD,
|
KC_LCMMD,
|
||||||
KC_RCMMD,
|
KC_RCMMD,
|
||||||
|
|
|
@ -35,11 +35,7 @@ typedef union {
|
||||||
user_config_t user_config;
|
user_config_t user_config;
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
KC_LIGHT_TAB_TOGGLE = QK_KB_2, // TECH DEBT: Starts at QK_KB_2 to maintain ordering with VIA definitions. See #19884. Revert to QK_KB_0 when VIA catches up with QMK.
|
||||||
KC_LIGHT_TAB_TOGGLE = USER00,
|
|
||||||
#else
|
|
||||||
KC_LIGHT_TAB_TOGGLE = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
KC_LIGHT_ALPHAS_TOGGLE,
|
KC_LIGHT_ALPHAS_TOGGLE,
|
||||||
KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE,
|
KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE,
|
||||||
KC_FN_LAYER_COLOR_TOGGLE
|
KC_FN_LAYER_COLOR_TOGGLE
|
||||||
|
|
|
@ -18,16 +18,16 @@ This keymap builds on the keymap by Grayson Carr (gtg465x) but adds a couple opt
|
||||||
- Fn+V will toggle lighting the defined Fn layer keys with the static color set with FN_LAYER_COLOR (default: static color off)
|
- Fn+V will toggle lighting the defined Fn layer keys with the static color set with FN_LAYER_COLOR (default: static color off)
|
||||||
|
|
||||||
- All custom keycodes can be moved to different keys in VIA by using the ANY key with the following keycodes:
|
- All custom keycodes can be moved to different keys in VIA by using the ANY key with the following keycodes:
|
||||||
- USER00 (default: F3) macOS Mission Control
|
- USER(0) (default: F3) macOS Mission Control
|
||||||
- USER01 (default: F4) macOS Launchpad
|
- USER(1) (default: F4) macOS Launchpad
|
||||||
- USER02 (default: Fn+Z) Caps Lock light Tab toggle
|
- USER(2) (default: Fn+Z) Caps Lock light Tab toggle
|
||||||
- USER03 (default: Fn+X) Caps Lock light alphas toggle
|
- USER(3) (default: Fn+X) Caps Lock light alphas toggle
|
||||||
- USER04 (default: Fn+C) Fn layer non-defined keys RGB toggle
|
- USER(4) (default: Fn+C) Fn layer non-defined keys RGB toggle
|
||||||
- USER05 (default: Fn+V) Fn layer defined keys static color toggle
|
- USER(5) (default: Fn+V) Fn layer defined keys static color toggle
|
||||||
|
|
||||||
RGB must be toggled on for all indicators to function. If you do not want an RGB mode active but still want the indicators, toggle RGB on and turn the brightness all the way off. The indicators will remain at full brightness.
|
RGB must be toggled on for all indicators to function. If you do not want an RGB mode active but still want the indicators, toggle RGB on and turn the brightness all the way off. The indicators will remain at full brightness.
|
||||||
|
|
||||||
Please make sure to save any customizations you have made in VIA to a .json file before flashing the firmware. Sometimes it has been necessary to re-apply those changes in VIA after flashing the firmware. If that is the case, you will most likely need to manually add the USER00 through USER05 custom keycodes after loading your customizations from the saved .json file. Then re-save a new .json file which will have your previous customizations and the custom keycodes for future use as needed.
|
Please make sure to save any customizations you have made in VIA to a .json file before flashing the firmware. Sometimes it has been necessary to re-apply those changes in VIA after flashing the firmware. If that is the case, you will most likely need to manually add the USER(0) through USER(5) custom keycodes after loading your customizations from the saved .json file. Then re-save a new .json file which will have your previous customizations and the custom keycodes for future use as needed.
|
||||||
|
|
||||||
#### USE AT YOUR OWN RISK
|
#### USE AT YOUR OWN RISK
|
||||||
|
|
||||||
|
|
|
@ -35,11 +35,7 @@ typedef union {
|
||||||
user_config_t user_config;
|
user_config_t user_config;
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
KC_LIGHT_TAB_TOGGLE = QK_KB_2, // TECH DEBT: Starts at QK_KB_2 to maintain ordering with VIA definitions. See #19884. Revert to QK_KB_0 when VIA catches up with QMK.
|
||||||
KC_LIGHT_TAB_TOGGLE = USER00,
|
|
||||||
#else
|
|
||||||
KC_LIGHT_TAB_TOGGLE = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
KC_LIGHT_ALPHAS_TOGGLE,
|
KC_LIGHT_ALPHAS_TOGGLE,
|
||||||
KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE,
|
KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE,
|
||||||
KC_FN_LAYER_COLOR_TOGGLE
|
KC_FN_LAYER_COLOR_TOGGLE
|
||||||
|
|
|
@ -18,16 +18,16 @@ This keymap builds on the keymap by Grayson Carr (gtg465x) but adds a couple opt
|
||||||
- Fn+V will toggle lighting the defined Fn layer keys with the static color set with FN_LAYER_COLOR (default: static color off)
|
- Fn+V will toggle lighting the defined Fn layer keys with the static color set with FN_LAYER_COLOR (default: static color off)
|
||||||
|
|
||||||
- All custom keycodes can be moved to different keys in VIA by using the ANY key with the following keycodes:
|
- All custom keycodes can be moved to different keys in VIA by using the ANY key with the following keycodes:
|
||||||
- USER00 (default: F3) macOS Mission Control
|
- USER(0) (default: F3) macOS Mission Control
|
||||||
- USER01 (default: F4) macOS Launchpad
|
- USER(1) (default: F4) macOS Launchpad
|
||||||
- USER02 (default: Fn+Z) Caps Lock light Tab toggle
|
- USER(2) (default: Fn+Z) Caps Lock light Tab toggle
|
||||||
- USER03 (default: Fn+X) Caps Lock light alphas toggle
|
- USER(3) (default: Fn+X) Caps Lock light alphas toggle
|
||||||
- USER04 (default: Fn+C) Fn layer non-defined keys RGB toggle
|
- USER(4) (default: Fn+C) Fn layer non-defined keys RGB toggle
|
||||||
- USER05 (default: Fn+V) Fn layer defined keys static color toggle
|
- USER(5) (default: Fn+V) Fn layer defined keys static color toggle
|
||||||
|
|
||||||
RGB must be toggled on for all indicators to function. If you do not want an RGB mode active but still want the indicators, toggle RGB on and turn the brightness all the way off. The indicators will remain at full brightness.
|
RGB must be toggled on for all indicators to function. If you do not want an RGB mode active but still want the indicators, toggle RGB on and turn the brightness all the way off. The indicators will remain at full brightness.
|
||||||
|
|
||||||
Please make sure to save any customizations you have made in VIA to a .json file before flashing the firmware. Sometimes it has been necessary to re-apply those changes in VIA after flashing the firmware. If that is the case, you will most likely need to manually add the USER00 through USER05 custom keycodes after loading your customizations from the saved .json file. Then re-save a new .json file which will have your previous customizations and the custom keycodes for future use as needed.
|
Please make sure to save any customizations you have made in VIA to a .json file before flashing the firmware. Sometimes it has been necessary to re-apply those changes in VIA after flashing the firmware. If that is the case, you will most likely need to manually add the USER(0) through USER(5) custom keycodes after loading your customizations from the saved .json file. Then re-save a new .json file which will have your previous customizations and the custom keycodes for future use as needed.
|
||||||
|
|
||||||
#### USE AT YOUR OWN RISK
|
#### USE AT YOUR OWN RISK
|
||||||
|
|
||||||
|
|
|
@ -29,11 +29,11 @@ enum layers{
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[MAC_BASE] = LAYOUT_ansi_89(
|
[MAC_BASE] = LAYOUT_ansi_89(
|
||||||
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_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_HOME,
|
MC_3, KC_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_HOME,
|
||||||
MACRO04, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[MAC_FN] = LAYOUT_ansi_89(
|
[MAC_FN] = LAYOUT_ansi_89(
|
||||||
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
||||||
|
@ -45,11 +45,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[WIN_BASE] = LAYOUT_ansi_89(
|
[WIN_BASE] = LAYOUT_ansi_89(
|
||||||
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_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_HOME,
|
MC_3, KC_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_HOME,
|
||||||
MACRO04, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[WIN_FN] = LAYOUT_ansi_89(
|
[WIN_FN] = LAYOUT_ansi_89(
|
||||||
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
||||||
|
|
|
@ -31,11 +31,11 @@ enum layers{
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[MAC_BASE] = LAYOUT_ansi_89(
|
[MAC_BASE] = LAYOUT_ansi_89(
|
||||||
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_NO, KC_NO, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_NO, KC_NO, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_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_HOME,
|
MC_3, KC_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_HOME,
|
||||||
MACRO04, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[MAC_FN] = LAYOUT_ansi_89(
|
[MAC_FN] = LAYOUT_ansi_89(
|
||||||
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
||||||
|
@ -47,11 +47,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[WIN_BASE] = LAYOUT_ansi_89(
|
[WIN_BASE] = LAYOUT_ansi_89(
|
||||||
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_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_HOME,
|
MC_3, KC_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_HOME,
|
||||||
MACRO04, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[WIN_FN] = LAYOUT_ansi_89(
|
[WIN_FN] = LAYOUT_ansi_89(
|
||||||
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
||||||
|
|
|
@ -29,11 +29,11 @@ enum layers{
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[MAC_BASE] = LAYOUT_iso_90(
|
[MAC_BASE] = LAYOUT_iso_90(
|
||||||
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
MC_3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
||||||
MACRO04, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[MAC_FN] = LAYOUT_iso_90(
|
[MAC_FN] = LAYOUT_iso_90(
|
||||||
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
||||||
|
@ -45,11 +45,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[WIN_BASE] = LAYOUT_iso_90(
|
[WIN_BASE] = LAYOUT_iso_90(
|
||||||
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
MC_3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
||||||
MACRO04, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[WIN_FN] = LAYOUT_iso_90(
|
[WIN_FN] = LAYOUT_iso_90(
|
||||||
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
||||||
|
|
|
@ -31,11 +31,11 @@ enum layers{
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[MAC_BASE] = LAYOUT_iso_90(
|
[MAC_BASE] = LAYOUT_iso_90(
|
||||||
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_NO, KC_NO, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_NO, KC_NO, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
MC_3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
||||||
MACRO04, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, MO(MAC_FN), KC_SPC, KC_RCMD, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[MAC_FN] = LAYOUT_iso_90(
|
[MAC_FN] = LAYOUT_iso_90(
|
||||||
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
RGB_TOG, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
|
||||||
|
@ -47,11 +47,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[WIN_BASE] = LAYOUT_iso_90(
|
[WIN_BASE] = LAYOUT_iso_90(
|
||||||
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
|
||||||
MACRO01, KC_GRV, 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_PGUP,
|
MC_1, KC_GRV, 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_PGUP,
|
||||||
MACRO02, 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_PGDN,
|
MC_2, 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_PGDN,
|
||||||
MACRO03, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
MC_3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME,
|
||||||
MACRO04, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
MC_4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
MACRO05, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(WIN_FN), KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[WIN_FN] = LAYOUT_iso_90(
|
[WIN_FN] = LAYOUT_iso_90(
|
||||||
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
RGB_TOG, _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
||||||
|
|
|
@ -24,11 +24,6 @@ enum layers{
|
||||||
_FN3
|
_FN3
|
||||||
};
|
};
|
||||||
|
|
||||||
enum custom_keycodes {
|
|
||||||
KC_TASK = USER00,
|
|
||||||
KC_FLXP
|
|
||||||
};
|
|
||||||
|
|
||||||
#define KC_TASK LGUI(KC_TAB)
|
#define KC_TASK LGUI(KC_TAB)
|
||||||
#define KC_FLXP LGUI(KC_E)
|
#define KC_FLXP LGUI(KC_E)
|
||||||
|
|
||||||
|
|
|
@ -30,17 +30,17 @@ enum layers{
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[MAC_BASE] = LAYOUT_ansi_73(
|
[MAC_BASE] = LAYOUT_ansi_73(
|
||||||
KC_MUTE, KC_ESC, 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,
|
KC_MUTE, KC_ESC, 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,
|
||||||
MACRO02, 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_HOME,
|
MC_2, 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_HOME,
|
||||||
MACRO03, KC_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,
|
MC_3, KC_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,
|
||||||
MACRO04, 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,
|
MC_4, 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,
|
||||||
MACRO05, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, KC_RCMMD, MO(_FN1), MO(_FN3), KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, KC_RCMMD, MO(_FN1), MO(_FN3), KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[WIN_BASE] = LAYOUT_ansi_73(
|
[WIN_BASE] = LAYOUT_ansi_73(
|
||||||
KC_MUTE, KC_ESC, 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,
|
KC_MUTE, KC_ESC, 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,
|
||||||
MACRO02, 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_HOME,
|
MC_2, 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_HOME,
|
||||||
MACRO03, KC_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,
|
MC_3, KC_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,
|
||||||
MACRO04, 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,
|
MC_4, 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,
|
||||||
MACRO05, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN2), MO(_FN3), KC_LEFT, KC_DOWN, KC_RGHT),
|
MC_5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN2), MO(_FN3), KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
[_FN1] = LAYOUT_ansi_73(
|
[_FN1] = LAYOUT_ansi_73(
|
||||||
RGB_TOG, KC_GRV, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
RGB_TOG, KC_GRV, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______,
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
RMT = USER00,
|
RMT = QK_KB_0,
|
||||||
RMS,
|
RMS,
|
||||||
RMIH,
|
RMIH,
|
||||||
RMDH,
|
RMDH,
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
*/
|
*/
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
/* Qwerty
|
/* Qwerty
|
||||||
|
|
|
@ -26,8 +26,8 @@ enum layers {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define FN MO(_FN)
|
#define FN MO(_FN)
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum alt_keycodes {
|
enum alt_keycodes {
|
||||||
U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
|
U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
|
||||||
U_T_AGCR, //USB Toggle Automatic GCR control
|
U_T_AGCR, //USB Toggle Automatic GCR control
|
||||||
DBG_TOG, //DEBUG Toggle On / Off
|
DBG_TOG, //DEBUG Toggle On / Off
|
||||||
DBG_MTRX, //DEBUG Toggle Matrix Prints
|
DBG_MTRX, //DEBUG Toggle Matrix Prints
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# VIA keymap for the Drop Alt Keyboard
|
# VIA keymap for the Drop Alt Keyboard
|
||||||
## *LED Modes:*
|
|
||||||
|
## _LED Modes:_
|
||||||
|
|
||||||
Enables all RGB Matrix animation modes available in QMK, all of which are selectable through VIA or using the LED mode keys
|
Enables all RGB Matrix animation modes available in QMK, all of which are selectable through VIA or using the LED mode keys
|
||||||
|
|
||||||
```c
|
```c
|
||||||
|
@ -8,12 +10,13 @@ Enables all RGB Matrix animation modes available in QMK, all of which are select
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
```
|
```
|
||||||
|
|
||||||
## *User Keycodes:*
|
## _User Keycodes:_
|
||||||
|
|
||||||
All keyboard specific keycodes are defined in the user_keycodes space, allowing for them to be placed on your keyboard through VIA
|
All keyboard specific keycodes are defined in the user_keycodes space, allowing for them to be placed on your keyboard through VIA
|
||||||
|
|
||||||
```c
|
```c
|
||||||
enum alt_keycodes {
|
enum alt_keycodes {
|
||||||
U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
|
U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
|
||||||
U_T_AGCR, //USB Toggle Automatic GCR control
|
U_T_AGCR, //USB Toggle Automatic GCR control
|
||||||
DBG_TOG, //DEBUG Toggle On / Off
|
DBG_TOG, //DEBUG Toggle On / Off
|
||||||
DBG_MTRX, //DEBUG Toggle Matrix Prints
|
DBG_MTRX, //DEBUG Toggle Matrix Prints
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum ctrl_keycodes {
|
enum ctrl_keycodes {
|
||||||
U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
|
U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
|
||||||
U_T_AGCR, //USB Toggle Automatic GCR control
|
U_T_AGCR, //USB Toggle Automatic GCR control
|
||||||
DBG_TOG, //DEBUG Toggle On / Off
|
DBG_TOG, //DEBUG Toggle On / Off
|
||||||
DBG_MTRX, //DEBUG Toggle Matrix Prints
|
DBG_MTRX, //DEBUG Toggle Matrix Prints
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
BL_TOG = USER00,
|
BL_TOG = QK_KB_0,
|
||||||
BL_EFFECT = USER01,
|
BL_EFFECT,
|
||||||
BL_ISPD = USER02,
|
BL_ISPD,
|
||||||
BL_DSPD = USER03,
|
BL_DSPD,
|
||||||
BL_IHUE = USER04,
|
BL_IHUE,
|
||||||
BL_DHUE = USER05,
|
BL_DHUE,
|
||||||
BL_ISAT = USER06,
|
BL_ISAT,
|
||||||
BL_DSAT = USER07,
|
BL_DSAT,
|
||||||
BL_IVAL = USER08,
|
BL_IVAL,
|
||||||
BL_DVAL = USER09
|
BL_DVAL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
LOGO_LED_ON = USER00,
|
LOGO_LED_ON = QK_KB_0,
|
||||||
LOGO_LED_OFF = USER01
|
LOGO_LED_OFF
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
LOGO_LED_ON = USER00,
|
LOGO_LED_ON = QK_KB_0,
|
||||||
LOGO_LED_OFF
|
LOGO_LED_OFF
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -40,11 +40,7 @@ extern keyboard_config_t keyboard_config;
|
||||||
extern uint16_t dpi_array[];
|
extern uint16_t dpi_array[];
|
||||||
|
|
||||||
enum keyboard_keycodes {
|
enum keyboard_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
DPI_UP = QK_KB_0,
|
||||||
DPI_UP = USER00,
|
|
||||||
#else
|
|
||||||
DPI_UP = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
DPI_DN,
|
DPI_DN,
|
||||||
DPI_FINE,
|
DPI_FINE,
|
||||||
TAP_UP,
|
TAP_UP,
|
||||||
|
|
|
@ -39,7 +39,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
),
|
),
|
||||||
|
|
||||||
[SYMB] = LAYOUT_moonlander(
|
[SYMB] = LAYOUT_moonlander(
|
||||||
USER00, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
QK_KB_0, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||||
_______, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
_______, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
||||||
_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, _______, _______, KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, _______,
|
_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, _______, _______, KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, _______,
|
||||||
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, _______,
|
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, _______,
|
||||||
|
@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
),
|
),
|
||||||
|
|
||||||
[MDIA] = LAYOUT_moonlander(
|
[MDIA] = LAYOUT_moonlander(
|
||||||
USER01, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT,
|
QK_KB_1, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT,
|
||||||
_______, _______, _______, KC_MS_U, _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR,
|
_______, _______, _______, KC_MS_U, _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR,
|
||||||
_______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
_______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, _______, _______,
|
||||||
|
@ -100,12 +100,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case USER00:
|
case QK_KB_0:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
|
SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
case USER01:
|
case QK_KB_1:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
keyboard_config.led_level ^= 1;
|
keyboard_config.led_level ^= 1;
|
||||||
eeconfig_update_kb(keyboard_config.raw);
|
eeconfig_update_kb(keyboard_config.raw);
|
||||||
|
|
|
@ -26,6 +26,11 @@ typedef union {
|
||||||
|
|
||||||
user_config_t user_config;
|
user_config_t user_config;
|
||||||
|
|
||||||
|
enum custom_keycodes {
|
||||||
|
USER00 = QK_KB_0,
|
||||||
|
USER01
|
||||||
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT(
|
||||||
|
|
|
@ -27,6 +27,11 @@ typedef union {
|
||||||
|
|
||||||
user_config_t user_config;
|
user_config_t user_config;
|
||||||
|
|
||||||
|
enum custom_keycodes {
|
||||||
|
USER00 = QK_KB_0,
|
||||||
|
USER01
|
||||||
|
};
|
||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
|
@ -64,7 +64,7 @@ typedef union {
|
||||||
|
|
||||||
// Custom keycodes for front LED control
|
// Custom keycodes for front LED control
|
||||||
enum fled_keycodes {
|
enum fled_keycodes {
|
||||||
FLED_MOD = USER00, // USER00 = VIA custom keycode start
|
FLED_MOD = QK_KB_0, // QK_KB_0 = VIA custom keycode start
|
||||||
FLED_VAI,
|
FLED_VAI,
|
||||||
FLED_VAD,
|
FLED_VAD,
|
||||||
NEW_SAFE_RANGE // define a new safe range
|
NEW_SAFE_RANGE // define a new safe range
|
||||||
|
|
|
@ -29,7 +29,7 @@ enum layer_names {
|
||||||
#define KC_DISC_DEAF KC_F24
|
#define KC_DISC_DEAF KC_F24
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
PROG = USER00,
|
PROG = QK_KB_0,
|
||||||
DISC_MUTE,
|
DISC_MUTE,
|
||||||
DISC_DEAF,
|
DISC_DEAF,
|
||||||
SUPER_ALT_TAB,
|
SUPER_ALT_TAB,
|
||||||
|
|
|
@ -24,11 +24,9 @@ enum layer_names {
|
||||||
|
|
||||||
#define KC_DISC_MUTE KC_F23
|
#define KC_DISC_MUTE KC_F23
|
||||||
#define KC_DISC_DEAF KC_F24
|
#define KC_DISC_DEAF KC_F24
|
||||||
#define NUM_CUST_KEYCODES (_NUM_CUST_KCS - SAFE_RANGE)
|
|
||||||
#define VIA_KEYCODE_RANGE USER00
|
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
PROG = SAFE_RANGE,
|
PROG = QK_KB_0,
|
||||||
DISC_MUTE,
|
DISC_MUTE,
|
||||||
DISC_DEAF,
|
DISC_DEAF,
|
||||||
SUPER_ALT_TAB,
|
SUPER_ALT_TAB,
|
||||||
|
@ -76,17 +74,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void map_via_keycode(uint16_t * keycode) {
|
|
||||||
if (abs(*keycode - VIA_KEYCODE_RANGE) < NUM_CUST_KEYCODES) { //make into macro?
|
|
||||||
dprintf("VIA custom keycode found, mapping to QMK keycode.\n");
|
|
||||||
uint16_t new_keycode = (*keycode - VIA_KEYCODE_RANGE) + SAFE_RANGE;
|
|
||||||
dprintf("VIA KC: %u QMK KC: %u\n", *keycode, new_keycode);
|
|
||||||
*keycode = new_keycode;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
map_via_keycode(&keycode);
|
|
||||||
// Send keystrokes to host keyboard, if connected (see readme)
|
// Send keystrokes to host keyboard, if connected (see readme)
|
||||||
process_record_remote_kb(keycode, record);
|
process_record_remote_kb(keycode, record);
|
||||||
switch(keycode) {
|
switch(keycode) {
|
||||||
|
|
|
@ -37,14 +37,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
SHIFTSPACE = QK_KB_0,
|
||||||
SHIFTSPACE = USER00,
|
|
||||||
#else
|
|
||||||
SHIFTSPACE = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
#ifdef VIA_ENABLE
|
|
||||||
QWERTY = SAFE_RANGE
|
|
||||||
#else
|
|
||||||
QWERTY
|
QWERTY
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
uint16_t layer_timer;
|
uint16_t layer_timer;
|
||||||
|
|
||||||
enum layer_keycodes {
|
enum layer_keycodes {
|
||||||
TG_LAYER = USER00
|
TG_LAYER = QK_KB_0
|
||||||
};
|
};
|
||||||
|
|
||||||
uint8_t get_hold_layer(void) {
|
uint8_t get_hold_layer(void) {
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT(
|
||||||
MACRO00, MACRO01,
|
MC_0, MC_1,
|
||||||
MACRO02, MACRO03,
|
MC_2, MC_3,
|
||||||
KC_VOLU, KC_VOLD
|
KC_VOLU, KC_VOLD
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
|
@ -41,17 +41,9 @@ extern keyboard_config_t keyboard_config;
|
||||||
extern uint16_t dpi_array[];
|
extern uint16_t dpi_array[];
|
||||||
|
|
||||||
enum ploopy_keycodes {
|
enum ploopy_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
DPI_CONFIG = QK_KB_0,
|
||||||
DPI_CONFIG = USER00,
|
|
||||||
#else
|
|
||||||
DPI_CONFIG = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
DRAG_SCROLL,
|
DRAG_SCROLL,
|
||||||
#ifdef VIA_ENABLE
|
|
||||||
PLOOPY_SAFE_RANGE = SAFE_RANGE,
|
|
||||||
#else
|
|
||||||
PLOOPY_SAFE_RANGE,
|
PLOOPY_SAFE_RANGE,
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool encoder_update_user(uint8_t index, bool clockwise);
|
bool encoder_update_user(uint8_t index, bool clockwise);
|
||||||
|
|
|
@ -44,17 +44,9 @@ extern keyboard_config_t keyboard_config;
|
||||||
extern uint16_t dpi_array[];
|
extern uint16_t dpi_array[];
|
||||||
|
|
||||||
enum ploopy_keycodes {
|
enum ploopy_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
DPI_CONFIG = QK_KB_0,
|
||||||
DPI_CONFIG = USER00,
|
|
||||||
#else
|
|
||||||
DPI_CONFIG = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
DRAG_SCROLL,
|
DRAG_SCROLL,
|
||||||
#ifdef VIA_ENABLE
|
|
||||||
PLOOPY_SAFE_RANGE = SAFE_RANGE,
|
|
||||||
#else
|
|
||||||
PLOOPY_SAFE_RANGE,
|
PLOOPY_SAFE_RANGE,
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool encoder_update_user(uint8_t index, bool clockwise);
|
bool encoder_update_user(uint8_t index, bool clockwise);
|
||||||
|
|
|
@ -41,17 +41,9 @@ typedef union {
|
||||||
extern keyboard_config_t keyboard_config;
|
extern keyboard_config_t keyboard_config;
|
||||||
|
|
||||||
enum ploopy_keycodes {
|
enum ploopy_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
DPI_CONFIG = QK_KB_0,
|
||||||
DPI_CONFIG = USER00,
|
|
||||||
#else
|
|
||||||
DPI_CONFIG = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
DRAG_SCROLL,
|
DRAG_SCROLL,
|
||||||
#ifdef VIA_ENABLE
|
|
||||||
PLOOPY_SAFE_RANGE = SAFE_RANGE,
|
|
||||||
#else
|
|
||||||
PLOOPY_SAFE_RANGE,
|
PLOOPY_SAFE_RANGE,
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool encoder_update_user(uint8_t index, bool clockwise);
|
bool encoder_update_user(uint8_t index, bool clockwise);
|
||||||
|
|
|
@ -46,15 +46,7 @@ extern keyboard_config_t keyboard_config;
|
||||||
extern uint16_t dpi_array[];
|
extern uint16_t dpi_array[];
|
||||||
|
|
||||||
enum ploopy_keycodes {
|
enum ploopy_keycodes {
|
||||||
#ifdef VIA_ENABLE
|
DPI_CONFIG = QK_KB_0,
|
||||||
DPI_CONFIG = USER00,
|
|
||||||
#else
|
|
||||||
DPI_CONFIG = SAFE_RANGE,
|
|
||||||
#endif
|
|
||||||
DRAG_SCROLL,
|
DRAG_SCROLL,
|
||||||
#ifdef VIA_ENABLE
|
|
||||||
PLOOPY_SAFE_RANGE = SAFE_RANGE,
|
|
||||||
#else
|
|
||||||
PLOOPY_SAFE_RANGE,
|
PLOOPY_SAFE_RANGE,
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,8 +23,8 @@ enum layer_names {
|
||||||
_BLANK
|
_BLANK
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LOWER FN_MO13
|
#define LOWER TL_LOWR
|
||||||
#define RAISE FN_MO23
|
#define RAISE TL_UPPR
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
/* Qwerty
|
/* Qwerty
|
||||||
|
|
|
@ -15,14 +15,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef VIA_ENABLE
|
|
||||||
#define USER_START USER00
|
|
||||||
#else
|
|
||||||
#define USER_START SAFE_RANGE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum jpe230_keycodes {
|
enum jpe230_keycodes {
|
||||||
KC_LSRS = USER_START,
|
KC_LSRS = QK_KB_0,
|
||||||
KC_LERS,
|
KC_LERS,
|
||||||
KC_LSRE
|
KC_LSRE
|
||||||
};
|
};
|
||||||
|
|
|
@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
|
||||||
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_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,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||||
_______, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
_______, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
/* Lower
|
/* Lower
|
||||||
|
@ -190,8 +190,8 @@ void matrix_scan_user(void) {
|
||||||
|
|
||||||
bool music_mask_user(uint16_t keycode) {
|
bool music_mask_user(uint16_t keycode) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case FN_MO13:
|
case TL_LOWR:
|
||||||
case FN_MO23:
|
case TL_UPPR:
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -20,8 +20,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
LAYOUT(
|
LAYOUT(
|
||||||
KC_ESC, 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_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, FN_MO23,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TL_UPPR,
|
||||||
KC_LCTL, KC_LGUI, KC_LALT, FN_MO13, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL),
|
KC_LCTL, KC_LGUI, KC_LALT, TL_LOWR, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL),
|
||||||
|
|
||||||
LAYOUT(
|
LAYOUT(
|
||||||
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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
|
|
@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
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_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
KC_LCTL, 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, RSFT_T(KC_ENT),
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_ENT),
|
||||||
FN_MO13, KC_SPC, FN_MO23
|
TL_LOWR, KC_SPC, TL_UPPR
|
||||||
),
|
),
|
||||||
|
|
||||||
[_LOWER] = LAYOUT(
|
[_LOWER] = LAYOUT(
|
||||||
|
|
|
@ -337,38 +337,38 @@ lookup_table_t lookup_table[333] =
|
||||||
{"SC_RCPC", SC_RCPC},
|
{"SC_RCPC", SC_RCPC},
|
||||||
{"SC_LAPO", SC_LAPO},
|
{"SC_LAPO", SC_LAPO},
|
||||||
{"SC_RAPC", SC_RAPC},
|
{"SC_RAPC", SC_RAPC},
|
||||||
{"FN_MO13", FN_MO13},
|
{"TL_LOWR", TL_LOWR},
|
||||||
{"FN_MO23", FN_MO23},
|
{"TL_UPPR", TL_UPPR},
|
||||||
{"MACRO00", MACRO00},
|
{"QK_MACRO_0", QK_MACRO_0},
|
||||||
{"MACRO01", MACRO01},
|
{"QK_MACRO_1", QK_MACRO_1},
|
||||||
{"MACRO02", MACRO02},
|
{"QK_MACRO_2", QK_MACRO_2},
|
||||||
{"MACRO03", MACRO03},
|
{"QK_MACRO_3", QK_MACRO_3},
|
||||||
{"MACRO04", MACRO04},
|
{"QK_MACRO_4", QK_MACRO_4},
|
||||||
{"MACRO05", MACRO05},
|
{"QK_MACRO_5", QK_MACRO_5},
|
||||||
{"MACRO06", MACRO06},
|
{"QK_MACRO_6", QK_MACRO_6},
|
||||||
{"MACRO07", MACRO07},
|
{"QK_MACRO_7", QK_MACRO_7},
|
||||||
{"MACRO08", MACRO08},
|
{"QK_MACRO_8", QK_MACRO_8},
|
||||||
{"MACRO09", MACRO09},
|
{"QK_MACRO_9", QK_MACRO_9},
|
||||||
{"MACRO10", MACRO10},
|
{"QK_MACRO_10", QK_MACRO_10},
|
||||||
{"MACRO11", MACRO11},
|
{"QK_MACRO_11", QK_MACRO_11},
|
||||||
{"MACRO12", MACRO12},
|
{"QK_MACRO_12", QK_MACRO_12},
|
||||||
{"MACRO13", MACRO13},
|
{"QK_MACRO_13", QK_MACRO_13},
|
||||||
{"MACRO14", MACRO14},
|
{"QK_MACRO_14", QK_MACRO_14},
|
||||||
{"MACRO15", MACRO15},
|
{"QK_MACRO_15", QK_MACRO_15},
|
||||||
{"USER00", USER00},
|
{"QK_KB_0", QK_KB_0},
|
||||||
{"USER01", USER01},
|
{"QK_KB_1", QK_KB_1},
|
||||||
{"USER02", USER02},
|
{"QK_KB_2", QK_KB_2},
|
||||||
{"USER03", USER03},
|
{"QK_KB_3", QK_KB_3},
|
||||||
{"USER04", USER04},
|
{"QK_KB_4", QK_KB_4},
|
||||||
{"USER05", USER05},
|
{"QK_KB_5", QK_KB_5},
|
||||||
{"USER06", USER06},
|
{"QK_KB_6", QK_KB_6},
|
||||||
{"USER07", USER07},
|
{"QK_KB_7", QK_KB_7},
|
||||||
{"USER08", USER08},
|
{"QK_KB_8", QK_KB_8},
|
||||||
{"USER09", USER09},
|
{"QK_KB_9", QK_KB_9},
|
||||||
{"USER10", USER10},
|
{"QK_KB_10", QK_KB_10},
|
||||||
{"USER11", USER11},
|
{"QK_KB_11", QK_KB_11},
|
||||||
{"USER12", USER12},
|
{"QK_KB_12", QK_KB_12},
|
||||||
{"USER13", USER13},
|
{"QK_KB_13", QK_KB_13},
|
||||||
{"USER14", USER14},
|
{"QK_KB_14", QK_KB_14},
|
||||||
{"USER15", USER15}
|
{"QK_KB_15", QK_KB_15}
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
// Defines the keycodes used by our macros in process_record_user
|
// Defines the keycodes used by our macros in process_record_user
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
KC_00 = USER00,
|
KC_00 = QK_KB_0,
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
// Defines the keycodes used by our macros in process_record_user
|
// Defines the keycodes used by our macros in process_record_user
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
KC_00 = USER00,
|
KC_00 = QK_KB_0,
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
*/
|
*/
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define RADIALEX USER00
|
#define RADIALEX QK_KB_0
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch(keycode) {
|
switch(keycode) {
|
||||||
case USER00:
|
case QK_KB_0:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
spongebob_mode ^= 1;
|
spongebob_mode ^= 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
KC_P00 = USER00
|
KC_P00 = QK_KB_0
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
|
@ -23,8 +23,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_ESC, 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_BSLS, KC_DEL,
|
KC_ESC, 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_BSLS, KC_DEL,
|
||||||
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_BSPC,
|
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_BSPC,
|
||||||
KC_LCTL, 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_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FN_MO13,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TL_LOWR,
|
||||||
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MO23),
|
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TL_UPPR),
|
||||||
|
|
||||||
// Fn1 Layer
|
// Fn1 Layer
|
||||||
[1] = LAYOUT_60_hhkb(
|
[1] = LAYOUT_60_hhkb(
|
||||||
|
|
|
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
_______, 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_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_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,
|
_______, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||||
_______, _______, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
_______, _______, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
_______, 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_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_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,
|
_______, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||||
_______, _______, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
_______, _______, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,31 +15,3 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rama_works_m50_ax.h"
|
#include "rama_works_m50_ax.h"
|
||||||
|
|
||||||
#ifndef VIA_ENABLE
|
|
||||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|
||||||
switch (keycode) {
|
|
||||||
case FN_MO13:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
layer_on(1);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
} else {
|
|
||||||
layer_off(1);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
case FN_MO23:
|
|
||||||
if (record->event.pressed) {
|
|
||||||
layer_on(2);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
} else {
|
|
||||||
layer_off(2);
|
|
||||||
update_tri_layer(1, 2, 3);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return process_record_user(keycode, record);
|
|
||||||
}
|
|
||||||
#endif // VIA_ENABLE
|
|
|
@ -8,8 +8,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_ESC, 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_BSLS, KC_DEL,
|
KC_ESC, 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_BSLS, KC_DEL,
|
||||||
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_BSPC,
|
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_BSPC,
|
||||||
KC_LCTL, 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_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FN_MO13,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TL_LOWR,
|
||||||
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MO23),
|
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TL_UPPR),
|
||||||
|
|
||||||
// Fn1 Layer
|
// Fn1 Layer
|
||||||
[1] = LAYOUT_60_hhkb(
|
[1] = LAYOUT_60_hhkb(
|
||||||
|
|
|
@ -8,8 +8,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_ESC, 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_BSLS, KC_DEL,
|
KC_ESC, 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_BSLS, KC_DEL,
|
||||||
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_BSPC,
|
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_BSPC,
|
||||||
KC_LCTL, 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_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FN_MO13,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TL_LOWR,
|
||||||
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MO23),
|
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TL_UPPR),
|
||||||
|
|
||||||
// Fn1 Layer
|
// Fn1 Layer
|
||||||
[1] = LAYOUT_60_hhkb(
|
[1] = LAYOUT_60_hhkb(
|
||||||
|
|
|
@ -8,8 +8,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_ESC, 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_BSLS, KC_DEL,
|
KC_ESC, 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_BSLS, KC_DEL,
|
||||||
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_BSPC,
|
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_BSPC,
|
||||||
KC_LCTL, 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_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FN_MO13,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TL_LOWR,
|
||||||
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MO23),
|
KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TL_UPPR),
|
||||||
|
|
||||||
// Fn1 Layer
|
// Fn1 Layer
|
||||||
[1] = LAYOUT_60_hhkb(
|
[1] = LAYOUT_60_hhkb(
|
||||||
|
|
|
@ -10,8 +10,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_ESC, KC_1, KC_2, KC_3,TD(SSHT), KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL,
|
KC_ESC, KC_1, KC_2, KC_3,TD(SSHT), KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL,
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TD(LBRC), KC_RBRC, KC_BSPC,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TD(LBRC), KC_RBRC, KC_BSPC,
|
||||||
CTRL_C_UP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, TD(SCLN), TD(QUOT), KC_ENT,
|
CTRL_C_UP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, TD(SCLN), TD(QUOT), KC_ENT,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FN_MO13,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TL_LOWR,
|
||||||
KC_LALT, KC_LGUI, KC_SPC, KC_RALT, FN_MO23),
|
KC_LALT, KC_LGUI, KC_SPC, KC_RALT, TL_UPPR),
|
||||||
|
|
||||||
// Fn1 Layer
|
// Fn1 Layer
|
||||||
[1] = LAYOUT_60_hhkb(
|
[1] = LAYOUT_60_hhkb(
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue