summaryrefslogtreecommitdiff
path: root/keycodes
diff options
context:
space:
mode:
authorBryce Harrington <bryce@canonical.com>2011-02-16 10:27:38 -0800
committerSergey V. Udaltsov <svu@gnome.org>2011-02-18 00:00:32 +0000
commit2df25f058048d381e6e1c71eca6097a8bee74feb (patch)
tree505fb4396030f0dfc6c892e58696fa874d7bdfa9 /keycodes
parentd6e26092800736873c88dbb19ea70746d5f1e217 (diff)
Add keycode definitions required for Apples Expose & Dashboard keys (F3/F4)
Apple's Expose and Dashboard keys (F3 and F4) have correct keycodes reported by evdev, but are not mapped. This adds the required keycodes and symbols, using the symbols XF86LaunchA and XF86LaunchB, which allows the keys to be used in compiz configuration. (This patch has been included in Ubuntu since 2010.) Bug: #34351 Ref.: https://bugs.launchpad.net/ubuntu/+bug/520519 Signed-off-by: Bryce Harrington <bryce@canonical.com>
Diffstat (limited to 'keycodes')
-rw-r--r--keycodes/evdev2
1 files changed, 2 insertions, 0 deletions
diff --git a/keycodes/evdev b/keycodes/evdev
index d6963a2d..a625b9f0 100644
--- a/keycodes/evdev
+++ b/keycodes/evdev
@@ -189,6 +189,7 @@ default xkb_keycodes "evdev" {
<LNFD> = 109; // #define KEY_LINEFEED 101
<I120> = 120; // #define KEY_MACRO 112
<I126> = 126; // #define KEY_KPPLUSMINUS 118
+ <I128> = 128; // #define KEY_SCALE 120
<I129> = 129; // #define KEY_KPCOMMA 121
<I147> = 147; // #define KEY_MENU 139
<I148> = 148; // #define KEY_CALC 140
@@ -238,6 +239,7 @@ default xkb_keycodes "evdev" {
<I209> = 209; // #define KEY_PAUSECD 201
<I210> = 210; // #define KEY_PROG3 202
<I211> = 211; // #define KEY_PROG4 203 conflicts with AB11
+ <I212> = 212; // #define KEY_DASHBOARD 204
<I213> = 213; // #define KEY_SUSPEND 205
<I214> = 214; // #define KEY_CLOSE 206
<I215> = 215; // #define KEY_PLAY 207