diff options
author | 2009-01-29 23:17:52 -0800 | |
---|---|---|
committer | 2009-01-29 23:43:21 -0800 | |
commit | e7b5c1ef4d87426da0b689a0a4fa67edda02ea5c (patch) | |
tree | 937c51ff46caa827092da1389e344fbfaeb90481 /lib/flex_array.c | |
parent | Input: pc110pad - use no_pci_devices() (diff) | |
download | wireguard-linux-e7b5c1ef4d87426da0b689a0a4fa67edda02ea5c.tar.xz wireguard-linux-e7b5c1ef4d87426da0b689a0a4fa67edda02ea5c.zip |
Input: stop autorepeat timer on key release
Whenever you press and then release a key, the CPU wakes up
three times:
* press
* release
* autorepeat timer exactly 250ms after press
The autorepeat timer has nothing to do, obviously, since you already
have released the key, so stop it on key release.
[dtor@mail.ru: This changes autorepeat behavior a bit since we now stop
autorepeat even if key that is being released is not the one that is
being auto-repeated, but I believe the new behavior is better.]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions