From f6b457bff6677ff0bb90848b5d941c78f7cca6f9 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Wed, 16 Feb 2011 10:39:56 -0800 Subject: [PATCH] Adds support for multimedia keys on Intelligent Keyboard K04 Patch authored/tested by Pali Rohar , and has been included with Ubuntu's xkeyboard-config package since 2010. Bug: #34352 Ref.: https://bugs.launchpad.net/ubuntu/+bug/458206 Signed-off-by: Bryce Harrington --- rules/base.lists.part | 3 ++- rules/base.xml.in | 7 +++++++ symbols/inet | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletions(-) diff --git a/rules/base.lists.part b/rules/base.lists.part index 50d1980..d92c1a9 100644 --- a/rules/base.lists.part +++ b/rules/base.lists.part @@ -71,7 +71,8 @@ sk1300 sk2500 sk6200 sk7100 \ sven sven303 symplon \ toshiba_s3000 trust trustda \ - unitekkb1925 yahoo + unitekkb1925 yahoo \ + intelligent_keyboard_k04 // all layouts with 3rd and 4th groups ! $threelevellayouts = al az \ diff --git a/rules/base.xml.in b/rules/base.xml.in index 1ce39d5..81f0ebb 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -1226,6 +1226,13 @@ + intelligent_keyboard_k04 + Intelligent Keyboard K04 + Generic + + + + htcdream <_description>Htc Dream phone htc diff --git a/symbols/inet b/symbols/inet index 7dadaa6..0307031 100644 --- a/symbols/inet +++ b/symbols/inet @@ -1830,6 +1830,31 @@ xkb_symbols "pc105" { include "inet(media_nav_acpi_common)" }; +//Intelligent Keyboard K04 +partial alphanumeric_keys +xkb_symbols "intelligent_keyboard_k04" { + key { [ XF86AudioPlay, XF86AudioPause ] }; + key { [ XF86AudioPrev ] }; + key { [ XF86AudioStop ] }; + key { [ XF86AudioNext ] }; + key { [ XF86AudioMedia ] }; + key { [ XF86AudioRaiseVolume ] }; + key { [ XF86AudioMute ] }; + key { [ XF86AudioLowerVolume ] }; + key { [ XF86Back ] }; + key { [ XF86Forward ] }; + key { [ XF86Stop ] }; + key { [ XF86Refresh ] }; + key { [ XF86Search ] }; + key { [ XF86Favorites ] }; + key { [ XF86HomePage ] }; + key { [ XF86Mail ] }; + key { [ XF86WakeUp ] }; + key { [ XF86MyComputer ] }; + key { [ XF86Calculator ] }; + key { [ XF86Sleep ] }; +}; + // HTC Dream partial alphanumeric_keys xkb_symbols "htcdream" { -- 1.7.2.3