fix range

This commit is contained in:
takashicompany 2024-11-20 02:28:40 +09:00
parent b16bf7e0f5
commit c298330faf

View File

@ -383,7 +383,7 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
#endif
if ((current_x != 0 || current_y != 0) &&
(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) {
// 上