Fix acceleration toggle on key press to trigger only when key is actually pressed
This commit is contained in:
parent
3c768c5528
commit
90ae8ae909
|
|
@ -508,7 +508,9 @@ bool fp_process_record_pointing(uint16_t keycode, keyrecord_t *record) {
|
|||
switch (keycode) {
|
||||
case FP_ACCEL_TOG:
|
||||
# ifdef FP_POINTING_ACCELERATION_ENABLE
|
||||
if (record->event.pressed) {
|
||||
acceleration_enabled = !acceleration_enabled;
|
||||
}
|
||||
# endif
|
||||
break;
|
||||
case FP_SCROLL_MOMENT:
|
||||
|
|
|
|||
Loading…
Reference in New Issue