From ce24b07c9ab4003cda6f6059e621e62f3575ddbe Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Sun, 27 Feb 2011 13:36:51 +0100 Subject: [PATCH] Added keycodes for Microsoft Natural Keyboard 4000 Notably absent are any and all changes to the .po files as there _has_ to be a way not to do them by hand... Unfortunately, I was unable to find it. --- rules/base.lists.part | 6 +++--- rules/base.xml.in | 7 +++++++ symbols/inet | 13 +++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/rules/base.lists.part b/rules/base.lists.part index 50d1980..c7983df 100644 --- a/rules/base.lists.part +++ b/rules/base.lists.part @@ -9,7 +9,7 @@ ! $pcmodels = pc101 pc102 pc104 pc105 // Microsoft models (using MS geometry) -! $msmodels = microsoft microsoft7000 microsoftpro microsoftprousb microsoftprose +! $msmodels = microsoft microsoft4000 microsoft7000 microsoftpro microsoftprousb microsoftprose // Nokia devices and keyboards ! $nokiamodels = nokiasu8w nokiarx44 nokiarx51 @@ -57,8 +57,8 @@ logiinkse logiinkseusb logiitc logiik \ logitech_base itouch logiultrax \ logitech_g15 \ - logidinovo logidinovoedge \ - microsoft7000 microsoftinet microsoftprousb microsoftprooem microsoftprose \ + logidinovo logidinovoedge \ + microsoft4000 microsoft7000 microsoftinet microsoftprousb microsoftprooem microsoftprose \ microsoftoffice microsoftmult \ mx1998 mx2500 mx2750 \ oretec \ diff --git a/rules/base.xml.in b/rules/base.xml.in index 6c5083f..e96bda9 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -792,6 +792,13 @@ + microsoft4000 + <_description>Microsoft Natural Wireless Ergonomic Keyboard 4000 + Microsoft Inc. + + + + microsoft7000 <_description>Microsoft Natural Wireless Ergonomic Keyboard 7000 Microsoft Inc. diff --git a/symbols/inet b/symbols/inet index ea7977f..8739859 100644 --- a/symbols/inet +++ b/symbols/inet @@ -1266,6 +1266,19 @@ xkb_symbols "mx2750" { // Microsoft +// Microsoft Natural Wireless Ergonomic Keyboard 4000 +partial alphanumeric_keys +xkb_symbols "microsoft4000" { + include "inet(media_nav_common)" + key { [ XF86Launch1 ] }; + key { [ XF86Launch2 ] }; + key { [ XF86Launch3 ] }; + key { [ XF86Launch4 ] }; + key { [ XF86Launch5 ] }; +// Missing because of lack of support from kbd driver: Zoom in and +// slider. +}; + // Microsoft Natural Wireless Ergonomic Keyboard 7000 partial alphanumeric_keys xkb_symbols "microsoft7000" { -- 1.7.2.3