Re-fix lint?!
This commit is contained in:
Drashna Jael're 2023-11-20 23:32:28 -08:00
parent b54db09186
commit 8b9ada2640
No known key found for this signature in database
GPG Key ID: DBA1FD3A860D1B11
2 changed files with 13 additions and 13 deletions

View File

@ -496,14 +496,14 @@ const pointing_device_driver_t pointing_device_driver = {
static bool spacemouse_present = false; static bool spacemouse_present = false;
__attribute__((weak)) void spacemouse_module_handle_axises(spacemouse_data_t *spacemouse_data, report_mouse_t* mouse_report) { __attribute__((weak)) void spacemouse_module_handle_axises(spacemouse_data_t* spacemouse_data, report_mouse_t* mouse_report) {
#ifdef SPACEMOUSE_USE_TILT_AXIS # ifdef SPACEMOUSE_USE_TILT_AXIS
mouse_report->x = CONSTRAIN_HID_XY(spacemouse_data->tilt_x); mouse_report->x = CONSTRAIN_HID_XY(spacemouse_data->tilt_x);
mouse_report->y = CONSTRAIN_HID_XY(spacemouse_data->tilt_y); mouse_report->y = CONSTRAIN_HID_XY(spacemouse_data->tilt_y);
#else # else
mouse_report->x = CONSTRAIN_HID_XY(spacemouse_data->x); mouse_report->x = CONSTRAIN_HID_XY(spacemouse_data->x);
mouse_report->y = CONSTRAIN_HID_XY(spacemouse_data->y); mouse_report->y = CONSTRAIN_HID_XY(spacemouse_data->y);
#endif # endif
} }
static report_mouse_t spacemouse_get_report(report_mouse_t mouse_report) { static report_mouse_t spacemouse_get_report(report_mouse_t mouse_report) {