labwc/src/input
John Lindgren 6574c82aed keybind: refactor update_keycodes_iter() to reduce nesting
update_keycodes_iter() currently has 4(!) levels of nested loops, which
makes the logic (especially the break/continue statements) difficult to
understand. The logic also appears to continue looping uselessly after
a given keycode has already been added to a keybind.

Refactor by adding some small utility functions:

- keybind_contains_keycode()
- keybind_contains_keysym()
- keybind_contains_any_keysym()

No functional change intended.
2025-08-18 19:54:18 +01:00
..
cursor.c input/cursor: fix assignment/equality mix-up 2025-08-15 06:48:19 +01:00
gestures.c src: include primary header first 2025-07-29 21:51:56 +01:00
ime.c ime: fix segfault when IME is killed 2025-08-08 20:52:23 +09:00
input.c src: include primary header first 2025-07-29 21:51:56 +01:00
key-state.c src: include primary header first 2025-07-29 21:51:56 +01:00
keyboard.c keybind: refactor update_keycodes_iter() to reduce nesting 2025-08-18 19:54:18 +01:00
meson.build input: move tablet tool functions into tablet.c 2025-06-14 13:45:51 +01:00
tablet-pad.c include: reduce global includes in labwc.h 2025-07-30 21:04:31 +01:00
tablet.c src: include primary header first 2025-07-29 21:51:56 +01:00
touch.c include: reduce global includes in labwc.h 2025-07-30 21:04:31 +01:00