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.hutte...@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

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to