Replace keycode numeric offset with EVDEV_OFFSET
authorPierre Le Marre <dev@wismill.eu>
Tue, 4 Jul 2023 07:34:08 +0000 (09:34 +0200)
committerWismill <dev@wismill.eu>
Tue, 4 Jul 2023 08:59:19 +0000 (10:59 +0200)
commit0d01a933bba047c7e4a3312fd2c8c6accc563823
tree926e0ec01d1ca93dcb8d926231f3b20960d7f797
parent0624d8ff4977840002afd14931979d60f0355d50
Replace keycode numeric offset with EVDEV_OFFSET

Add a constant `EVDEV_OFFSET` to make the semantic of the offset clearer.
test/state.c
tools/interactive-wayland.c