Revert "fix range"

This reverts commit c298330faf.
This commit is contained in:
takashicompany 2024-11-20 02:29:52 +09:00
parent c298330faf
commit 10887b796c

View File

@ -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) > 200)){ (my_abs_16(joystick_raw_x) + my_abs_16(joystick_raw_y) > 350)){
if (joystick_raw_y < joystick_raw_x * 4) { if (joystick_raw_y < joystick_raw_x * 4) {
// 上 // 上