qmk_firmware/quantum
JohSchneider d9b1ab9ae0
pointing_device: motion pin define and c-format weirdness (#22802)
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>
2024-01-10 17:38:13 +01:00
..
audio
backlight
bootmagic
debounce
encoder/tests
keymap_extras [CI] Regenerate Files (#22872) 2024-01-09 22:18:34 +11:00
led_matrix
logging
midi
os_detection/tests
painter
pointing_device pointing_device: motion pin define and c-format weirdness (#22802) 2024-01-10 17:38:13 +01:00
process_keycode Ignore space cadet key release when caps word is active (#21721) 2024-01-09 22:07:10 +11:00
rgb_matrix Solid reactive: improve fading effect (#22656) 2024-01-09 22:12:42 +11:00
rgblight
send_string
sequencer
split_common Align SPLIT_HAND_MATRIX_GRID left/right logic with SPLIT_HAND_PIN (#22775) 2024-01-09 22:24:53 +11:00
unicode
wear_leveling
action.c
action.h
action_code.h
action_layer.c
action_layer.h
action_tapping.c
action_tapping.h
action_util.c
action_util.h
basic_profiling.h
bitwise.c
bitwise.h
caps_word.c
caps_word.h
color.c
color.h
command.c
command.h
crc.c
crc.h
debounce.h
deferred_exec.c
deferred_exec.h
digitizer.c
digitizer.h
dip_switch.c
dip_switch.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
eeconfig.c
eeconfig.h
encoder.c
encoder.h
haptic.c
haptic.h
joystick.c
joystick.h
keyboard.c
keyboard.h
keycode.h
keycode_config.c
keycode_config.h
keycodes.h
keymap_common.c
keymap_common.h
keymap_introspection.c
keymap_introspection.h
leader.c
leader.h
led.c
led.h
led_tables.c
led_tables.h
main.c
matrix.c
matrix.h
matrix_common.c
modifiers.h
mousekey.c
mousekey.h
os_detection.c
os_detection.h
pointing_device_internal.h
programmable_button.c
programmable_button.h
quantum.c
quantum.h
quantum_keycodes.h
quantum_keycodes_legacy.h
raw_hid.h
repeat_key.c
repeat_key.h
ring_buffer.h
secure.c
secure.h
steno_keycodes.h
sync_timer.c
sync_timer.h
tri_layer.c
tri_layer.h
util.h
variable_trace.c
variable_trace.h
via.c
via.h
virtser.h
wpm.c
wpm.h