mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
tablet: break up a long line
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4da9d51b67
commit
43de03a08c
1 changed files with 3 additions and 1 deletions
|
|
@ -1840,7 +1840,9 @@ tablet_check_initial_proximity(struct evdev_device *device,
|
|||
int code, state;
|
||||
enum libinput_tablet_tool_type tool;
|
||||
|
||||
for (tool = LIBINPUT_TABLET_TOOL_TYPE_PEN; tool <= LIBINPUT_TABLET_TOOL_TYPE_MAX; tool++) {
|
||||
for (tool = LIBINPUT_TABLET_TOOL_TYPE_PEN;
|
||||
tool <= LIBINPUT_TABLET_TOOL_TYPE_MAX;
|
||||
tool++) {
|
||||
code = tablet_tool_to_evcode(tool);
|
||||
|
||||
/* we only expect one tool to be in proximity at a time */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue