[PATCH libinput 4/8] test: fix features for the MS Surface Cover
Peter Hutterer
peter.hutterer at who-t.net
Sun Apr 26 22:52:30 PDT 2015
LITEST_KEYBOARD is the type, LITEST_KEYS is the feature.
And this device has buttons, so mark it as such.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
test/litest-ms-surface-cover.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/litest-ms-surface-cover.c b/test/litest-ms-surface-cover.c
index 3e026e0..633bb79 100644
--- a/test/litest-ms-surface-cover.c
+++ b/test/litest-ms-surface-cover.c
@@ -373,7 +373,7 @@ static int events[] = {
struct litest_test_device litest_ms_surface_cover_device = {
.type = LITEST_MS_SURFACE_COVER,
- .features = LITEST_KEYBOARD | LITEST_RELATIVE | LITEST_FAKE_MT,
+ .features = LITEST_KEYS | LITEST_RELATIVE | LITEST_FAKE_MT | LITEST_BUTTON | LITEST_WHEEL,
.shortname = "MS surface cover",
.setup = litest_ms_surface_cover_setup,
.interface = &interface,
--
2.3.5
More information about the wayland-devel
mailing list