evdev: Let dispatch instances set their own capabilities
authorJonas Ådahl <jadahl@gmail.com>
Sat, 26 Jul 2014 19:34:47 +0000 (21:34 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 18 Aug 2014 20:35:19 +0000 (22:35 +0200)
commitc17282ffc49a279553961a964f126b9da22011c6
tree3647896b864c34bb9e48f74bd29631f060f5d9d9
parente3f39004a2e36461c508b76a645368d5613062a5
evdev: Let dispatch instances set their own capabilities

It's up to a evdev device backend to configure seat capabilities it
supports. Even though it may be possible for a touchpad to have extra
keys, there is currently no support for sending keyboard events from the
touchpad driver, and if that would be implemented, it'd be a detail of
the touchpad driver, not the generic evdev device part.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c
src/evdev.c