evdev: add comment why we're ignoring key value 2

This commit is contained in:
Peter Hutterer 2013-08-07 11:04:42 +10:00 committed by Jonas Ådahl
parent 756785ec3e
commit 3f0ee131e1

View file

@ -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;