diff --git a/keyboards/sofle/keymaps/Kabbone/config.h b/keyboards/sofle/keymaps/Kabbone/config.h index 5d64588c42..6c822f92ca 100644 --- a/keyboards/sofle/keymaps/Kabbone/config.h +++ b/keyboards/sofle/keymaps/Kabbone/config.h @@ -4,9 +4,6 @@ see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness for more options. */ -#ifdef ENCODER_ENABLE -// #define ENCODER_RESOLUTIONS { 4, 2 } -#endif #ifdef TAPPING_TERM #undef TAPPING_TERM @@ -22,8 +19,9 @@ for more options. #define RGBLIGHT_SLEEP //Turn off LEDs when computer sleeping (+72) #define RGBLIGHT_LAYERS //Enable layer light indicators. Not required as updates are done in layer_state_set_user and led_update_user (+588). #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT - #define RGBLIGHT_DEFAULT_HUE 30 - #define RGBLIGHT_DEFAULT_VAL 30 + #define RGBLIGHT_DEFAULT_HUE 110 + #define RGBLIGHT_DEFAULT_SAT 170 + #define RGBLIGHT_DEFAULT_VAL 50 #define RGBLIGHT_STATIC_LIGHT //#define RGBLIGHT_ANIMATIONS //#define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/sofle/keymaps/Kabbone/keymap.c b/keyboards/sofle/keymaps/Kabbone/keymap.c index c951f21af3..24bb9ffebf 100644 --- a/keyboards/sofle/keymaps/Kabbone/keymap.c +++ b/keyboards/sofle/keymaps/Kabbone/keymap.c @@ -8,42 +8,9 @@ enum sofle_layers { _QWERTY, _SYM, _NAV, - _ADJUST, - _NUMPAD, - _SWITCH + _UML }; -enum custom_keycodes { - KC_QWERTY = SAFE_RANGE, - KC_COLEMAKDH, - KC_SYM, - KC_NAV, - KC_ADJUST, - KC_D_MUTE -}; - -enum unicode_names { - DESSS, - DEBAE, - DESAE, - DEBOE, - DESOE, - DEBUE, - DESUE -}; - -const uint32_t PROGMEM unicode_map[] = { - [DESSS] = 0x00DF, // ß - [DEBAE] = 0x00C4, // Ä - [DESAE] = 0x00E4, // ä - [DEBOE] = 0x00D6, // Ö - [DESOE] = 0x00F6, // ö - [DEBUE] = 0x00DC, // Ü - [DESUE] = 0x00FC, // ü -}; - -#define UE UC(0x00DC) - // Left-hand home row mods #define HOME_A LCTL_T(KC_A) #define HOME_R LSFT_T(KC_R) @@ -60,11 +27,11 @@ const uint32_t PROGMEM unicode_map[] = { #define UML_O ALGR(KC_P) #define UML_U ALGR(KC_Y) #define UML_SS ALGR(KC_S) +#define EURO ALGR(KC_5) #define NAV_DEL LT(_NAV,KC_DEL) #define SYM_ESC LT(_SYM,KC_ESC) -#define SWI_GUI LT(_SWITCH,KC_LGUI) -#define ADJ_GUI LT(_ADJUST,KC_LGUI) +#define UML_GUI LT(_UML,KC_LGUI) bool get_custom_auto_shifted_key(uint16_t keycode, keyrecord_t *record) { switch(keycode) { @@ -108,10 +75,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [_QWERTY] = LAYOUT( - KC_GRV , KC_1, KC_2, KC_3, KC_4, KC_5, LT(_SWITCH,KC_6), KC_7, KC_8, KC_9, KC_0, KC_GRV, + KC_GRV , KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV, 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_SCLN, KC_QUOT, - DF(_COLEMAKDH), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_D_MUTE,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, + DF(_COLEMAKDH), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_MPLY, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_LCTL,KC_LALT,MO(_SYM),KC_LSFT,KC_ENT, KC_BSPC,KC_SPC, NAV_DEL, KC_LBRC, KC_RBRC ), /* @@ -134,7 +101,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5, KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_ESC , QK_GESC, KC_Q , KC_W , KC_F , KC_P , KC_B, KC_J , KC_L , KC_U , KC_Y , KC_QUOT, KC_BSLS, KC_TAB , HOME_A, HOME_R, HOME_S, HOME_T, KC_G, KC_M , HOME_N , HOME_E , HOME_I, HOME_O , KC_SCLN, - ADJ_GUI, KC_Z , KC_X , KC_C , KC_D , KC_V, KC_MUTE, KC_NO, KC_K , KC_H , KC_COMM, KC_DOT, KC_SLSH, KC_EQL, + MO(_UML), KC_Z , KC_X , KC_C , KC_D , KC_V, KC_MUTE, KC_MPLY, KC_K , KC_H , KC_COMM, KC_DOT, KC_SLSH, KC_EQL, KC_LCTL,KC_LALT,MO(_SYM),KC_LSFT,KC_ENT, KC_BSPC,KC_SPC, NAV_DEL, KC_LBRC, KC_RBRC ), @@ -176,12 +143,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [_NAV] = LAYOUT( _______, _______, _______, _______, _______, _______, KC_MS_LEFT,KC_MS_DOWN,KC_MS_UP,KC_MS_RIGHT,KC_MS_BTN1,KC_MS_BTN2, - _______, XXXXXXX, KC_PSCR, KC_APP , XXXXXXX, XXXXXXX, KC_PGUP , KC_PASTE , KC_COPY, KC_CUT , KC_UNDO , KC_BSPC, + _______, _______, KC_PSCR, KC_APP , _______, _______, KC_PGUP , KC_PASTE , KC_COPY, KC_CUT , KC_UNDO , KC_BSPC, _______, KC_LCTL, KC_LSFT, KC_LGUI, KC_LALT, KC_CAPS, KC_LEFT , KC_DOWN , KC_UP , KC_RGHT , KC_DEL , KC_BSPC, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, KC_PGDN , KC_HOME , KC_END , KC_INS , _______ , _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN , KC_HOME , KC_END , KC_INS , _______ , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), -/* ADJUST +/* UML * ,-----------------------------------------. ,-----------------------------------------. * | | | | | | | | | | | | | | * |------+------+------+------+------+------| |------+------+------+------+------+------| @@ -195,102 +162,25 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * | | | | |/ / \ \ | | | | | * `----------------------------------' '------''---------------------------' */ - [_ADJUST] = LAYOUT( - //,------------------------------------------------. ,---------------------------------------------------. - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - //|------+-------+--------+--------+--------+------| |--------+-------+--------+--------+--------+---------| - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, UML_U, XXXXXXX, XXXXXXX, XXXXXXX, - //|------+-------+--------+--------+--------+------| |--------+-------+--------+--------+--------+---------| - XXXXXXX, UML_A, XXXXXXX, UML_SS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, UML_O, XXXXXXX, - //|------+-------+--------+--------+--------+------| === | | === |--------+-------+--------+--------+--------+---------| - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - //|------+-------+--------+--------+--------+------| === | | === |--------+-------+--------+--------+--------+---------| - _______, _______, _______, KC_LSFT, _______, _______, _______, _______, _______, _______ - // \--------+--------+--------+---------+-------| |--------+---------+--------+---------+-------/ -), -/* NUMPAD - * ,-----------------------------------------. ,-----------------------------------------. - * | trans| | | | | | | |NumLck| | | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | ` | | | | | | | ^ | 7 | 8 | 9 | * | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | trans| | | | | |-------. ,-------| - | 4 | 5 | 6 | | | | - * |------+------+------+------+------+------| MUTE | | |------+------+------+------+------+------| - * | trans| | | | | |-------| |-------| + | 1 | 2 | 3 | \ | Shift| - * `-----------------------------------------/ / \ \-----------------------------------------' - * | Bspc | WIN |SYM | Enter| /Space / \Enter \ |SPACE | 0 | . | RAlt | - * | | | | |/ / \ \ | | | | | - * `----------------------------------' '------''---------------------------' - */ -[_NUMPAD] = LAYOUT( - //,------------------------------------------------. ,---------------------------------------------------. - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, KC_NUM, XXXXXXX, XXXXXXX,XXXXXXX, XXXXXXX, - //|------+-------+--------+--------+--------+------| |--------+-------+--------+--------+--------+---------| - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_CIRC, KC_P7, KC_P8, KC_P9, KC_ASTR, XXXXXXX, - //|------+-------+--------+--------+--------+------| |--------+-------+--------+--------+--------+---------| - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MINS, KC_P4, KC_P5, KC_P6, KC_EQL, KC_PIPE, - //|------+-------+--------+--------+--------+------| === | | === |--------+-------+--------+--------+--------+---------| - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,_______, _______,KC_PLUS, KC_P1, KC_P2, KC_P3, KC_SLSH, _______, - //|------+-------+--------+--------+--------+------| === | | === |--------+-------+--------+--------+--------+---------| - _______, OSM(MOD_MEH), _______, _______, _______, _______, _______, KC_P0, KC_PDOT, _______ - // \--------+--------+--------+---------+-------| |--------+---------+--------+---------+-------/ -), - -/* SWITCH - * ,-----------------------------------------. ,-----------------------------------------. - * | | | | | | | | | | | | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | qwer | cole |col_dh| low | raise| adj | |numpad| | | | |QK_BOOT | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | |-------. ,-------| | | | | |EEP_RST| - * |------+------+------+------+------+------| MUTE | | |------+------+------+------+------+------| - * | SLEEP| | | | | |-------| |-------| | | | | | | - * `-----------------------------------------/ / \ \-----------------------------------------' - * | Bspc | WIN |SYM | Enter| /Space / \Enter \ |SPACE | 0 | . | RAlt | - * | | | | |/ / \ \ | | | | | - * `----------------------------------' '------''---------------------------' - */ - // layer switcher -[_SWITCH] = LAYOUT( - //,------------------------------------------------. ,---------------------------------------------------. - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,XXXXXXX, XXXXXXX, - //|------+-------+--------+--------+--------+------| |--------+-------+--------+--------+--------+---------| - TO(0), TO(1), TO(2), TO(3), TO(4), TO(5), TO(6), KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, - //|------+-------+--------+--------+--------+------| |--------+-------+--------+--------+--------+---------| - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, EE_CLR, - //|------+-------+--------+--------+--------+------| === | | === |--------+-------+--------+--------+--------+---------| - UE, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - //|------+-------+--------+--------+--------+------| === | | === |--------+-------+--------+--------+--------+---------| - KC_NO, KC_NO, KC_NO, KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - // \--------+--------+--------+---------+-------| |--------+---------+--------+---------+-------/ - - ), +[_UML] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, UML_U , _______, _______, _______, + _______, UML_A , _______, UML_SS , _______, _______, _______, _______, EURO , _______, UML_O, _______, + _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, KC_LSFT, _______, _______, _______, _______, _______, _______ +) }; -/* RAISE - * ,----------------------------------------. ,-----------------------------------------. - * | | | | | | | | | | | | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Esc | Ins | Pscr | Menu | | | | | PWrd | Up | NWrd | DLine| Bspc | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Tab | LAt | LCtl |LShift| | Caps |-------. ,-------| | Left | Down | Rigth| Del | Bspc | - * |------+------+------+------+------+------| MUTE | | |------+------+------+------+------+------| - * |Shift | Undo | Cut | Copy | Paste| |-------| |-------| | LStr | | LEnd | | Shift| - * `-----------------------------------------/ / \ \-----------------------------------------' - * | LGUI | LAlt | LCTR |LOWER | /Enter / \Space \ |RAISE | RCTR | RAlt | RGUI | - * | | | | |/ / \ \ | | | | | - * `----------------------------------' '------''---------------------------' - */ #ifdef OLED_ENABLE static void render_logo(void) { - static const char PROGMEM qmk_logo[] = { - 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94, - 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4, - 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0 + static const char PROGMEM raw_logo[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,240, 8, 8, 8, 8, 8,240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,240, 9, 9, 9, 9, 9,241, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 64, 64, 64,240, 64, 64, 64, 65, 65, 65, 65, 65, 56, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 64, 64, 64, 65, 64, 64, 92, 98, 66, 66, 66, 68,120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60, 66, 2, 2, 62, 66, 66, 66, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,131,134,140,152,176,160,192,192,192,192,160,176,152,140,134,131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,128, 64, 64, 64,192, 64, 64,128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0,224, 16, 8, 72,132, 34, 66, 65,225, 17, 0, 64, 60, 16,241, 24, 20, 0, 33, 33,129, 98, 66, 68, 8, 8, 16,224, 0, 0, 0, 0,192, 33, 18,146, 82, 18,146,146,210, 51, 18,146, 18, 18,243, 18, 18, 18, 18, 51, 82,146,146,146, 18, 18, 33,192, 0, 0, 0, 0, 1, 2, 4, 4, 8, 17, 16, 32, 33, 34, 64,128,143,130,227,134,138, 64, 33, 33, 32, 17, 16, 8, 4, 4, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; - - oled_write_P(qmk_logo, false); + oled_write_raw_P(raw_logo, sizeof(raw_logo)); } static void print_status_narrow(void) { @@ -316,32 +206,27 @@ static void print_status_narrow(void) { oled_write_P(PSTR("Base\n"), false); break; case _NAV: - oled_write_P(PSTR("NAV"), false); + oled_write_P(PSTR("NAV\n"), false); break; case _SYM: - oled_write_P(PSTR("SYM"), false); + oled_write_P(PSTR("SYM\n"), false); break; - case _ADJUST: - oled_write_P(PSTR("Adj\n"), false); - case _NUMPAD: - oled_write_P(PSTR("Nump\n"), false); - break; - case _SWITCH: - oled_write_P(PSTR("Swit\n"), false); + case _UML: + oled_write_P(PSTR("UML\n"), false); break; default: oled_write_ln_P(PSTR("Undef"), false); } - oled_write_P(PSTR("\n\n"), false); - led_t led_usb_state = host_keyboard_led_state(); - oled_write_ln_P(PSTR("CPSLK"), led_usb_state.caps_lock); + // oled_write_P(PSTR("\n\n"), false); + // led_t led_usb_state = host_keyboard_led_state(); + // oled_write_ln_P(PSTR("CPSLK"), led_usb_state.caps_lock); } oled_rotation_t oled_init_user(oled_rotation_t rotation) { - if (is_keyboard_master()) { +// if (is_keyboard_master()) { return OLED_ROTATION_270; - } - return rotation; + // } +// return rotation; } bool oled_task_user(void) { @@ -355,97 +240,6 @@ bool oled_task_user(void) { #endif -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _SYM, _NAV, _ADJUST); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case KC_QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - return false; - case KC_COLEMAKDH: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAKDH); - } - return false; - case KC_SYM: - if (record->event.pressed) { - layer_on(_SYM); - update_tri_layer(_SYM, _NAV, _ADJUST); - } else { - layer_off(_SYM); - update_tri_layer(_SYM, _NAV, _ADJUST); - } - return false; - case KC_NAV: - if (record->event.pressed) { - layer_on(_NAV); - update_tri_layer(_SYM, _NAV, _ADJUST); - } else { - layer_off(_NAV); - update_tri_layer(_SYM, _NAV, _ADJUST); - } - return false; - case KC_ADJUST: - if (record->event.pressed) { - layer_on(_ADJUST); - } else { - layer_off(_ADJUST); - } - return false; - case KC_D_MUTE: - if (record->event.pressed) { - register_mods(mod_config(MOD_MEH)); - register_code(KC_UP); - } else { - unregister_mods(mod_config(MOD_MEH)); - unregister_code(KC_UP); - } - } - return true; -} - -//#ifdef ENCODER_ENABLE -// -//bool encoder_update_user(uint8_t index, bool clockwise) { -// if (index == 0) { -// if (clockwise) { -// tap_code(KC_VOLU); -// } else { -// tap_code(KC_VOLD); -// } -// } else if (index == 1) { -// switch (get_highest_layer(layer_state)) { -// case _COLEMAKDH: -// if (clockwise) { -// tap_code(KC_PGDN); -// } else { -// tap_code(KC_PGUP); -// } -// //break; -// case _NAV: -// case _SYM: -// if (clockwise) { -// tap_code(KC_UP); -// } else { -// tap_code(KC_DOWN); -// } -// //break; -// case _QWERTY: -// default: -// if (clockwise) { -// tap_code(KC_PGDN); -// } else { -// tap_code(KC_PGUP); -// } -// //break; -// } -// } -// return true; -//} #if defined(ENCODER_MAP_ENABLE) const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { @@ -453,10 +247,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { [_COLEMAKDH] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) }, [_NAV] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, [_SYM] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) }, - [_ADJUST] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, - [_NUMPAD] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) }, - [_SWITCH] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, + [_UML] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, }; #endif - -//#endif diff --git a/keyboards/sofle/keymaps/Kabbone/rules.mk b/keyboards/sofle/keymaps/Kabbone/rules.mk index 27edc7562e..5e25d690a6 100644 --- a/keyboards/sofle/keymaps/Kabbone/rules.mk +++ b/keyboards/sofle/keymaps/Kabbone/rules.mk @@ -7,6 +7,6 @@ EXTRAKEY_ENABLE = yes MOUSEKEY_ENABLE = no RGBLIGHT_ENABLE = yes NKRO_ENABLE = yes # Enable N-Key Rollover -DEBOUNCE_TYPE = sym_eager_pk # Debounce eagerly (report change immediately), keep per-key timers. We can use +#DEBOUNCE_TYPE = sym_eager_pk # Debounce eagerly (report change immediately), keep per-key timers. We can use # this because the sofle does not have to deal with noise. AUTO_SHIFT_ENABLE = yes