mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 22:10:25 +01:00
test: assign ID_INPUT_TABLET to the bamboo/intuos5 touchpad parts
We rely on libwacom to set this, but it doesn't do so by default for uinput devices. Let's set this here so the parts are correctly detected as tablet touchpads. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4cd332c92c
commit
08da56dc81
2 changed files with 6 additions and 2 deletions
|
|
@ -83,7 +83,9 @@ static const char udev_rule[] =
|
|||
"KERNEL!=\"event*\", GOTO=\"rule_end\"\n"
|
||||
"\n"
|
||||
"ATTRS{name}==\"litest Wacom Bamboo 2FG 4x5 Finger*\",\\\n"
|
||||
" ENV{LIBINPUT_DEVICE_GROUP}=\"wacom-bamboo-2fg-group\"\n"
|
||||
" ENV{LIBINPUT_DEVICE_GROUP}=\"wacom-bamboo-2fg-group\",\\\n"
|
||||
" ENV{ID_INPUT_TABLET}=\"1\",\\\n"
|
||||
" ENV{ID_INPUT_TOUCHPAD}=\"1\"\n"
|
||||
"\n"
|
||||
"LABEL=\"rule_end\"";
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,9 @@ static const char udev_rule[] =
|
|||
"KERNEL!=\"event*\", GOTO=\"rule_end\"\n"
|
||||
"\n"
|
||||
"ATTRS{name}==\"litest Wacom Intuos5 touch M Finger*\",\\\n"
|
||||
" ENV{LIBINPUT_DEVICE_GROUP}=\"wacom-i5-group\"\n"
|
||||
" ENV{LIBINPUT_DEVICE_GROUP}=\"wacom-i5-group\",\\\n"
|
||||
" ENV{ID_INPUT_TABLET}=\"1\",\\\n"
|
||||
" ENV{ID_INPUT_TOUCHPAD}=\"1\"\n"
|
||||
"\n"
|
||||
"LABEL=\"rule_end\"";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue