remove bspc_dw
This commit is contained in:
parent
ce6fc80598
commit
e822704000
|
@ -4,15 +4,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) {
|
||||||
|
|
Loading…
Reference in a new issue