From df6aa455cdf45015ca1da39040f6c022f4d8de77 Mon Sep 17 00:00:00 2001 From: xesc Date: Sun, 29 Sep 2024 18:16:00 +0200 Subject: [PATCH] update keymap --- colemak_dh_modified/corne/keymap.c | 18 ++---------------- colemak_dh_modified/corne/rules.mk | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/colemak_dh_modified/corne/keymap.c b/colemak_dh_modified/corne/keymap.c index b115740..7ef7463 100644 --- a/colemak_dh_modified/corne/keymap.c +++ b/colemak_dh_modified/corne/keymap.c @@ -5,9 +5,8 @@ enum custom_keycodes { }; bool get_custom_auto_shifted_key(uint16_t keycode, keyrecord_t *record) { - if(IS_RETRO(keycode)) - return true; - return false; + if (IS_RETRO(keycode)) return true; + return false; } bool process_record_user(uint16_t keycode, keyrecord_t *record) { @@ -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, diff --git a/colemak_dh_modified/corne/rules.mk b/colemak_dh_modified/corne/rules.mk index 9ddbd21..79abbac 100644 --- a/colemak_dh_modified/corne/rules.mk +++ b/colemak_dh_modified/corne/rules.mk @@ -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