diff options
| author | 2017-11-09 23:44:33 +0100 | |
|---|---|---|
| committer | 2017-12-08 13:54:43 -0800 | |
| commit | 95f38fd46cc5e45a0d5224f486e805d17ea3d93f (patch) | |
| tree | 7fdb41335e305c8ae1cb39420c66a8df92d82275 /include/uapi/linux/input-event-codes.h | |
| parent | platform/x86: intel-vbtn: support SW_TABLET_MODE (diff) | |
| download | wireguard-linux-95f38fd46cc5e45a0d5224f486e805d17ea3d93f.tar.xz wireguard-linux-95f38fd46cc5e45a0d5224f486e805d17ea3d93f.zip | |
platform/x86: intel-vbtn: Support separate press/release events
Currently all key events use autorelease, but this forbids use as a
modifier key.
As all event codes come in even/odd pairs, we can lookup the key type
(KE_KEY/KE_IGNORE) for the key up event corresponding to the currently
handled key down event. If the key up is ignored, we keep setting the
autorelease flag for the key down.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'include/uapi/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions
