mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-18 13:42:00 +00:00
Fix lint
Re-fix lint?!
This commit is contained in:
parent
b54db09186
commit
8b9ada2640
@ -496,14 +496,14 @@ const pointing_device_driver_t pointing_device_driver = {
|
||||
|
||||
static bool spacemouse_present = false;
|
||||
|
||||
__attribute__((weak)) void spacemouse_module_handle_axises(spacemouse_data_t *spacemouse_data, report_mouse_t* mouse_report) {
|
||||
#ifdef SPACEMOUSE_USE_TILT_AXIS
|
||||
__attribute__((weak)) void spacemouse_module_handle_axises(spacemouse_data_t* spacemouse_data, report_mouse_t* mouse_report) {
|
||||
# ifdef SPACEMOUSE_USE_TILT_AXIS
|
||||
mouse_report->x = CONSTRAIN_HID_XY(spacemouse_data->tilt_x);
|
||||
mouse_report->y = CONSTRAIN_HID_XY(spacemouse_data->tilt_y);
|
||||
#else
|
||||
# else
|
||||
mouse_report->x = CONSTRAIN_HID_XY(spacemouse_data->x);
|
||||
mouse_report->y = CONSTRAIN_HID_XY(spacemouse_data->y);
|
||||
#endif
|
||||
# endif
|
||||
}
|
||||
|
||||
static report_mouse_t spacemouse_get_report(report_mouse_t mouse_report) {
|
||||
|
Loading…
Reference in New Issue
Block a user