Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
QMK Bot 2021-04-03 02:04:56 +00:00
commit 39e1b5b962

View file

@ -20,9 +20,6 @@ enum custom_keycodes {
ADJUST, ADJUST,
}; };
// Fillers to make layering more clear
#define KC_ KC_TRNS
// tap toggle numpad on // tap toggle numpad on
#define NUMPAD TT(_NUMS) #define NUMPAD TT(_NUMS)
@ -48,13 +45,6 @@ enum custom_keycodes {
#define CTL_BSL MT(MOD_RCTL, KC_BSLS) // \ Right Control #define CTL_BSL MT(MOD_RCTL, KC_BSLS) // \ Right Control
#define CTL_PIP MT(MOD_RCTL, KC_PIPE) // | Right Control #define CTL_PIP MT(MOD_RCTL, KC_PIPE) // | Right Control
// Redefine for LAYOUT_kc
#define KC_CTL_BSL CTL_BSL
#define KC_CTL_PIP CTL_PIP
#define KC_CTL_DEL CTL_DEL
#define KC_HPR_TIL HPR_TIL
#define KC_HPR_GRV HPR_GRV
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -100,11 +90,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | | | | | | | | * | | | | | | | | | | | | | |
* `-----------------------------------------' `-----------------------------------------' * `-----------------------------------------' `-----------------------------------------'
*/ */
[_RAISE] = LAYOUT_kc_ortho_4x12( [_RAISE] = LAYOUT_ortho_4x12(
HPR_GRV, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , , HPR_GRV, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , _______,
,LEFT, UP ,DOWN,RGHT,LPRN, RPRN,MINS, EQL,LBRC,RBRC,CTL_PIP, _______, KC_LEFT, KC_UP , KC_DOWN, KC_RGHT, KC_LPRN, KC_RPRN, KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, CTL_PIP,
,COLN,QUOT,ASTR,COMM,LCBR, RCBR,UNDS,PLUS, , , , _______, KC_COLN, KC_QUOT, KC_ASTR, KC_COMM, KC_LCBR, KC_RCBR, KC_UNDS, KC_PLUS, _______, _______, _______,
, , , , , , , , , , , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
), ),
/* Lower /* Lower
@ -118,61 +108,58 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | | | | | | | | * | | | | | | | | | | | | | |
* `-----------------------------------------' `-----------------------------------------' * `-----------------------------------------' `-----------------------------------------'
*/ */
[_LOWER] = LAYOUT_kc_ortho_4x12( [_LOWER] = LAYOUT_ortho_4x12(
HPR_TIL,EXLM, AT ,HASH,DLR , PERC , CIRC,AMPR,ASTR,LPRN,RPRN, , HPR_TIL, KC_EXLM, KC_AT , KC_HASH, KC_DLR , KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______,
CTL_DEL,VOLU,MUTE,MPLY,PGUP, COLN , QUOT,MINS, EQL,LBRC,RBRC,CTL_BSL, CTL_DEL, KC_VOLU, KC_MUTE, KC_MPLY, KC_PGUP, KC_COLN, KC_QUOT, KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, CTL_BSL,
,VOLD,MPRV,MNXT,PGDN, SCLN , DQUO,PIPE,COMM, DOT,SLSH, , _______, KC_VOLD, KC_MPRV, KC_MNXT, KC_PGDN, KC_SCLN, KC_DQUO, KC_PIPE, KC_COMM, KC_DOT , KC_SLSH, _______,
, , , , , , , , , , , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
), ),
[_FUNC] = LAYOUT_kc_ortho_4x12( [_FUNC] = LAYOUT_ortho_4x12(
// ,----+----+----+----+----+----. ,----+----+----+----+----+----. _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , _______,
, F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 , F10, , _______, KC_F11 , KC_F12 , KC_F13 , KC_F14 , KC_F15 , KC_F16 , KC_F17 , KC_F18 , KC_F19 , KC_F20 , _______,
// |----+----+----+----+----+----| |----+----+----+----+----+----| _______, KC_F21 , KC_F22 , KC_F23 , KC_F24 , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , _______,
, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, F21, F22, F23, F24, NO , NO , NO , NO , NO , NO , ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, , , , , , , , , , ,
// `----+----+----+----+----+----' `----+----+----+----+----+----'
), ),
[_NUMS] = LAYOUT_kc_ortho_4x12( [_NUMS] = LAYOUT_ortho_4x12(
// ,----+----+----+----+----+----. ,----+----+----+----+----+----. _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_SLSH, _______,
, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ,SLSH, , _______, KC_CAPS, KC_INS , KC_HOME, KC_PGUP, KC_LPRN, KC_RPRN, KC_4 , KC_5 , KC_6 , KC_ASTR, _______,
// |----+----+----+----+----+----| |----+----+----+----+----+----| _______, KC_NLCK, KC_DEL , KC_END , KC_PGDN, KC_SCLN, KC_COMM, KC_1 , KC_2 , KC_3 , KC_MINS, _______,
,CAPS, INS,HOME,PGUP,LPRN, RPRN, 4 , 5 , 6 ,ASTR, , _______, _______, _______, _______, _______, _______, _______, KC_0 , KC_DOT , KC_EQL , KC_PLUS, _______
// |----+----+----+----+----+----| |----+----+----+----+----+----|
,NLCK, DEL, END,PGDN,SCLN, COMM, 1 , 2 , 3 ,MINS, ,
// |----+----+----+----+----+----| |----+----+----+----+----+----|
, , , , , , , 0 ,DOT ,EQL ,PLUS,
// `----+----+----+----+----+----' `----+----+----+----+----+----'
), ),
[_ADJUST] = LAYOUT_ortho_4x12( [_ADJUST] = LAYOUT_ortho_4x12(
// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------. RESET , XXXXXXX, KC_UP , XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DEL ,
RESET , XXXXXXX, KC_UP , XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DEL , \ _______, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, BL_TOGG, BL_STEP, XXXXXXX, XXXXXXX, XXXXXXX, _______,
// |-------+--------+--------+--------+--------+--------| |-------+--------+--------+--------+--------+--------| _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
_______, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, BL_TOGG, BL_STEP, XXXXXXX, XXXXXXX, XXXXXXX, _______, \ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
// |-------+--------+--------+--------+--------+--------| |-------+--------+--------+--------+--------+--------|
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, \
// |-------+--------+--------+--------+--------+--------| |-------+--------+--------+--------+--------+--------|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
// `-------+--------+--------+--------+--------+--------' `-------+--------+--------+--------+--------+--------,
) )
};
/* /* Template
*
* ,-----------------------------------------. ,-----------------------------------------. * ,-----------------------------------------. ,-----------------------------------------.
* | | | | | | | | | | | | | | * | Hyper| | | | | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | | * | Ctrl | | | | | | | | | | | | Ctrl |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | | * | Shift| | | | | | | | | | | | Shift|
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | | * | | | | | | | | | | | | | |
* `-----------------------------------------' `-----------------------------------------' * `-----------------------------------------' `-----------------------------------------'
*
*
*/ */
}; // ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------.
// | | | | | | | | | | | | | |
// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------.
// | | | | | | | | | | | | | |
// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------.
// | | | | | | | | | | | | | |
// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------.
// | | | | | | | | | | | | | |
// `-------+--------+--------+--------+--------+--------' `-------+--------+--------+--------+--------+--------,
bool process_record_user(uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) { switch (keycode) {