mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-11 10:21:29 +00:00
fix range
This commit is contained in:
parent
b16bf7e0f5
commit
c298330faf
@ -383,7 +383,7 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
|
|||||||
#endif
|
#endif
|
||||||
if ((current_x != 0 || current_y != 0) &&
|
if ((current_x != 0 || current_y != 0) &&
|
||||||
(joystick_raw_x > 100 || joystick_raw_y > 100) == false &&
|
(joystick_raw_x > 100 || joystick_raw_y > 100) == false &&
|
||||||
(my_abs_16(joystick_raw_x) + my_abs_16(joystick_raw_y) > 350)){
|
(my_abs_16(joystick_raw_x) + my_abs_16(joystick_raw_y) > 200)){
|
||||||
|
|
||||||
if (joystick_raw_y < joystick_raw_x * 4) {
|
if (joystick_raw_y < joystick_raw_x * 4) {
|
||||||
// 上
|
// 上
|
||||||
|
Loading…
Reference in New Issue
Block a user