summaryrefslogtreecommitdiff
path: root/src/libinput.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-02-05 15:16:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-04-18 09:12:02 +1000
commit8e17a9ab5c293306ff0bc0b63551e6a79fd497b1 (patch)
tree02f5f4c0bfaa97f458142a1a908de4a86eadf871 /src/libinput.c
parentc2c526a7c5287cf2c0beeff0cfbce66c51d79ce8 (diff)
pad: implement wacom pad support
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
Diffstat (limited to 'src/libinput.c')
-rw-r--r--src/libinput.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libinput.c b/src/libinput.c
index bd97fb0..bcd0dcd 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -2794,19 +2794,19 @@ libinput_device_keyboard_has_key(struct libinput_device *device, uint32_t code)
LIBINPUT_EXPORT int
libinput_device_tablet_pad_get_num_buttons(struct libinput_device *device)
{
- return 0;
+ return evdev_device_tablet_pad_get_num_buttons((struct evdev_device *)device);
}
LIBINPUT_EXPORT int
libinput_device_tablet_pad_get_num_rings(struct libinput_device *device)
{
- return 0;
+ return evdev_device_tablet_pad_get_num_rings((struct evdev_device *)device);
}
LIBINPUT_EXPORT int
libinput_device_tablet_pad_get_num_strips(struct libinput_device *device)
{
- return 0;
+ return evdev_device_tablet_pad_get_num_strips((struct evdev_device *)device);
}
LIBINPUT_EXPORT struct libinput_event *