evdev: add comment why we're ignoring key value 2
This commit is contained in:
committed by
Kristian Høgsberg
parent
11f5bfbc09
commit
89af60e6f5
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user