Peter Hutterer
71941470e5
plugin: remove the proximity timer callback after prox out events
...
One of the code paths was addressed in b2cd9c69a0 but this path was
missing.
Fixes: b2cd9c69a0 ("plugin: remove the event frame callbacks when disabling a plugin")
(cherry picked from commit ce1112c263 )
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1326 >
2025-10-15 08:46:48 +10:00
Peter Hutterer
8141159beb
Add evdev_frame_append_one()
...
This is the most common usage, let's add a helper.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1245 >
2025-07-02 06:53:05 +00:00
Peter Hutterer
2a1095924b
Run clang-format over the code
...
This uses the .clang-format file in the follow-up commit, but committed
prior to that to ease review of said file and various integrations.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1246 >
2025-07-01 16:42:44 +10:00
Peter Hutterer
f003dbb6cb
plugins: fix the timer name for the tablet proximity timer
...
Since every device has one of those, let's name it after the device's
system.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1244 >
2025-06-24 03:14:16 +00:00
Peter Hutterer
29bb231114
plugin: require plugins to enable the frame callback for a device
...
The vast majority of plugins are only interested in a single or a few
devices. Require that they enable the frame callback for those devices
and don't notify them for any other frames.
Give each plugin a unique index and use that for a bitmask to check if
the plugin wants events for a particular device. If not, skip it.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1229 >
2025-06-20 09:06:45 +00:00
Peter Hutterer
2d23d7f4aa
tablet: implement the tablet proximity timer as plugin
...
Together with the "forced-tool" quirk (that enforces BTN_TOOL_PEN to be
set even if the tablet doesn't) since those two go hand-in-hand.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1218 >
2025-06-18 19:38:14 +10:00