d9b1ab9ae0
the mutual exclusive POINTING_DEVICE_MOTION_PIN and SPLIT_POINTING_ENABLE influence if and how the `pointing_device_driver.get_report` is triggered. now the way the define is wrapping around an "unbraced" if leads clang-format to weirdly indent the first line in the 'SPLIT_POINTING_ENABLE' as the first command after the if. this hints that any code addition in between the two - that possibly should run regardless, would break the if-def enabled code. this can be solved by adding a pair of curly braces in the POINTING_DEVICE_MOTION_PIN part, to clearly denote which commands are to be skipped if the motion pin shows now activity. Co-authored-by: Johannes <you@example.com> |
||
---|---|---|
.. | ||
pointing_device_auto_mouse.c | ||
pointing_device_auto_mouse.h | ||
pointing_device_drivers.c | ||
pointing_device_gestures.c | ||
pointing_device_gestures.h | ||
pointing_device.c | ||
pointing_device.h |