mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-21 19:09:25 +00:00
adjust
This commit is contained in:
parent
d856718821
commit
b16bf7e0f5
@ -358,11 +358,9 @@ void reset_joystick_key(void) {
|
||||
|
||||
void press_joystick_key(int8_t column) {
|
||||
|
||||
// if (joystick_key_column != -1 || timer_elapsed(joystick_key_timer) < 200) {
|
||||
// return;
|
||||
// }
|
||||
joystick_key_timer = timer_read();
|
||||
|
||||
if (joystick_key_column == column || timer_elapsed(joystick_key_timer) < 200) {
|
||||
if (joystick_key_column == column /* || timer_elapsed(joystick_key_timer) < 200*/) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -397,7 +395,7 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (timer_elapsed(joystick_key_timer) > 50) {
|
||||
if (timer_elapsed(joystick_key_timer) > 100) {
|
||||
reset_joystick_key();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user