remove bspc_dw

This commit is contained in:
♥ Minnie ♥ 2024-02-05 11:02:51 +08:00
parent ce6fc80598
commit e822704000

View file

@ -5,15 +5,6 @@
bool process_record_user(uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!process_sentence_case(keycode, record)) { return false; } if (!process_sentence_case(keycode, record)) { return false; }
switch (keycode) {
case BSPC_DW:
if (record->tap.count && record->event.pressed) {
tap_code(KC_BSPC);
} else if (record->event.pressed) {
tap_code16(C(KC_W));
}
return false;
case SC_TOGG: case SC_TOGG:
if (record->event.pressed) { if (record->event.pressed) {
sentence_case_toggle(); sentence_case_toggle();