projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786bf52
)
evdev: log when a device is used as touchpad
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 7 Aug 2013 01:04:49 +0000
(11:04 +1000)
committer
Jonas Ådahl
<jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:33 +0000
(17:51 +0100)
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index af60dbc49f99f15f4521d809237f41088e11ec33..342cb9baa03558789b29cf7cde6bad9c4d727e6b 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-498,8
+498,11
@@
evdev_handle_device(struct evdev_device *device)
key_bits);
if (TEST_BIT(key_bits, BTN_TOOL_FINGER) &&
!TEST_BIT(key_bits, BTN_TOOL_PEN) &&
- has_abs)
+ has_abs)
{
device->dispatch = evdev_touchpad_create(device);
+ weston_log("input device %s, %s is a touchpad\n",
+ device->devname, device->devnode);
+ }
for (i = KEY_ESC; i < KEY_MAX; i++) {
if (i >= BTN_MISC && i < KEY_OK)
continue;