mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 06:38:02 +02:00
evdev: add comment why we're ignoring key value 2
This commit is contained in:
parent
756785ec3e
commit
3f0ee131e1
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue