Make modifier combos work with auto mouse extension
This commit is contained in:
parent
c4b18f0b2a
commit
c3f008a962
@ -196,10 +196,6 @@ bool is_mouse_record_user(uint16_t keycode, keyrecord_t* record) {
|
||||
case BALL_SAT:
|
||||
case BALL_VAL:
|
||||
case BALL_SPEED:
|
||||
case C(KC_PAGE_UP): // for changing tabs
|
||||
case C(KC_PAGE_DOWN): // for changing tabs
|
||||
case A(KC_LEFT): // for back nav
|
||||
case A(KC_RIGHT): // for forward nav
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@ -230,6 +226,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
user_config.tb_saturation = tb_saturation;
|
||||
eeconfig_update_user(user_config.raw);
|
||||
break;
|
||||
case C(KC_PAGE_UP): // for changing tabs
|
||||
case C(KC_PAGE_DOWN): // for changing tabs
|
||||
case A(KC_LEFT): // for back nav
|
||||
case A(KC_RIGHT): // for forward nav
|
||||
auto_mouse_keyevent(record->event.pressed);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user