From 3f0ee131e1f0e291b0ce606dbea56c5584cf57d2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 7 Aug 2013 11:04:42 +1000 Subject: [PATCH] evdev: add comment why we're ignoring key value 2 --- src/evdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/evdev.c b/src/evdev.c index 27296f8..c05bb78 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -65,6 +65,7 @@ evdev_led_update(struct evdev_device *device, enum weston_led leds) static inline void evdev_process_key(struct evdev_device *device, struct input_event *e, int time) { + /* ignore kernel key repeat */ if (e->value == 2) return; -- 2.7.4