diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-10-13 18:20:34 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-10-14 07:15:54 +0200 |
commit | 4c1482202957828a37e88e42c49e9ac8ef12c960 (patch) | |
tree | d1bef670579e556c091a8ee02b2c0eca367044eb /systemd-master | |
parent | e296313f7b397a45b144313056b50374c3bf4016 (diff) |
keymap: Recognize KEY_* aliases
linux/input.h contains alias definitions like
#define KEY_COFFEE 152
#define KEY_SCREENLOCK KEY_COFFEE
#define KEY_ROTATE_DISPLAY 153
#define KEY_DIRECTION KEY_ROTATE_DISPLAY
But we ignored these when building keyboard-keys-list.txt. Also allow the value
to start with "K" now (for KEY_*), and drop the hardcoded COFFEE → SCREENLOCK
aliasing.
This fixes assignments to key "direction".
Fixes #1151
Diffstat (limited to 'systemd-master')
0 files changed, 0 insertions, 0 deletions