[PATCH libinput] test: add LITEST_KEYS to roccat mouse features

Derek Foreman derekf at osg.samsung.com
Fri Apr 24 15:23:13 PDT 2015


The mouse can generate key events, so it should be carry that feature bit.

Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
 test/litest-mouse-roccat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/litest-mouse-roccat.c b/test/litest-mouse-roccat.c
index adccd3d..115e970 100644
--- a/test/litest-mouse-roccat.c
+++ b/test/litest-mouse-roccat.c
@@ -193,7 +193,7 @@ static struct input_absinfo absinfo[] = {
 
 struct litest_test_device litest_mouse_roccat_device = {
 	.type = LITEST_MOUSE_ROCCAT,
-	.features = LITEST_RELATIVE | LITEST_BUTTON | LITEST_WHEEL,
+	.features = LITEST_RELATIVE | LITEST_BUTTON | LITEST_WHEEL | LITEST_KEYS,
 	.shortname = "mouse_roccat",
 	.setup = litest_mouse_roccat_setup,
 	.interface = NULL,
-- 
2.1.4



More information about the wayland-devel mailing list