[PATCH weston 03/10] evdev: add comment why we're ignoring key value 2
Peter Hutterer
peter.hutterer at who-t.net
Tue Aug 6 18:04:42 PDT 2013
---
src/evdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/evdev.c b/src/evdev.c
index d7e416a..96f3085 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;
--
1.8.2.1
More information about the wayland-devel
mailing list