diff options
author | Bryce Harrington <bryce@canonical.com> | 2011-02-16 10:27:38 -0800 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2011-02-18 00:00:32 +0000 |
commit | 2df25f058048d381e6e1c71eca6097a8bee74feb (patch) | |
tree | 505fb4396030f0dfc6c892e58696fa874d7bdfa9 | |
parent | d6e26092800736873c88dbb19ea70746d5f1e217 (diff) | |
download | xkeyboard-config-2df25f058048d381e6e1c71eca6097a8bee74feb.tar.gz xkeyboard-config-2df25f058048d381e6e1c71eca6097a8bee74feb.tar.bz2 xkeyboard-config-2df25f058048d381e6e1c71eca6097a8bee74feb.zip |
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>
-rw-r--r-- | keycodes/evdev | 2 | ||||
-rw-r--r-- | symbols/inet | 2 |
2 files changed, 4 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 diff --git a/symbols/inet b/symbols/inet index 5d83ebfc..7dadaa62 100644 --- a/symbols/inet +++ b/symbols/inet @@ -126,6 +126,7 @@ xkb_symbols "evdev" { // key <I120> { [ ] }; // KEY_MACRO key <I126> { [ plusminus ] }; + key <I128> { [ XF86LaunchA ] }; key <I147> { [ XF86MenuKB ] }; key <I148> { [ XF86Calculator ] }; // key <I149> { [ ] }; // KEY_SETUP @@ -174,6 +175,7 @@ xkb_symbols "evdev" { key <I209> { [ XF86AudioPause ] }; key <I210> { [ XF86Launch3 ] }; key <I211> { [ XF86Launch4 ] }; + key <I212> { [ XF86LaunchB ] }; key <I213> { [ XF86Suspend ] }; key <I214> { [ XF86Close ] }; key <I215> { [ XF86AudioPlay ] }; |