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

dev
Peter Hutterer 11 years ago committed by Kristian Høgsberg
parent 11f5bfbc09
commit 89af60e6f5
  1. 1
      src/evdev.c

@ -65,6 +65,7 @@ evdev_led_update(struct evdev_device *device, enum weston_led leds)
static inline void static inline void
evdev_process_key(struct evdev_device *device, struct input_event *e, int time) evdev_process_key(struct evdev_device *device, struct input_event *e, int time)
{ {
/* ignore kernel key repeat */
if (e->value == 2) if (e->value == 2)
return; return;

Loading…
Cancel
Save