update keymap

This commit is contained in:
xesc 2024-09-29 18:16:00 +02:00
parent 58a795bf9a
commit df6aa455cd
2 changed files with 3 additions and 17 deletions

View file

@ -5,8 +5,7 @@ enum custom_keycodes {
};
bool get_custom_auto_shifted_key(uint16_t keycode, keyrecord_t *record) {
if(IS_RETRO(keycode))
return true;
if (IS_RETRO(keycode)) return true;
return false;
}
@ -48,19 +47,6 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
}
}
const uint16_t PROGMEM combo1[] = {KC_SPC, KC_S, COMBO_END};
const uint16_t PROGMEM combo2[] = {CTL_SPC, KC_S, COMBO_END};
const uint16_t PROGMEM combo3[] = {KC_SPC, KC_T, COMBO_END};
const uint16_t PROGMEM combo4[] = {CTL_SPC, KC_T, COMBO_END};
const uint16_t PROGMEM combo5[] = {KC_SPC, KC_R, COMBO_END};
combo_t key_combos[] = {
COMBO(combo1, OSL(4)),
COMBO(combo2, OSL(2)),
COMBO(combo3, OSL(2)),
COMBO(combo4, OSL(4)),
COMBO(combo5, OSL(3)),
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_3x6_3(
LALT_T(KC_TAB), MT(MOD_LALT,KC_Q), KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, MT(MOD_RALT,KC_SCLN), KC_BSPC,

View file

@ -1,6 +1,7 @@
# Copyright 2022 x123
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
@ -17,7 +18,6 @@ RGB_MATRIX_ENABLE = no
RGBLIGHT_ENABLE = yes
MOUSEKEY_ENABLE = yes
OLED_ENABLE = no
COMBO_ENABLE = yes
LTO_ENABLE = yes
UNICODE_ENABLE = yes
NKRO_ENABLE = yes