summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hartmann <richih.mailinglist@gmail.com>2011-02-27 13:36:51 +0100
committerSergey V. Udaltsov <svu@gnome.org>2011-03-13 12:48:20 +0000
commit0d1f4a895608b5977e5897e07cbd9f9adf7a7cf5 (patch)
tree962b81d753a77f53c5a0e4273f5808c127b3fd59
parent9333b2f3f0e3f1724b7a5c04b8ffc5eafb96fefa (diff)
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.
-rw-r--r--rules/base.lists.part6
-rw-r--r--rules/base.xml.in7
-rw-r--r--symbols/inet13
3 files changed, 23 insertions, 3 deletions
diff --git a/rules/base.lists.part b/rules/base.lists.part
index 50d19809..c7983df8 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 00c315e2..423c1a94 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -792,6 +792,13 @@
</model>
<model>
<configItem>
+ <name>microsoft4000</name>
+ <_description>Microsoft Natural Wireless Ergonomic Keyboard 4000</_description>
+ <vendor>Microsoft Inc.</vendor>
+ </configItem>
+ </model>
+ <model>
+ <configItem>
<name>microsoft7000</name>
<_description>Microsoft Natural Wireless Ergonomic Keyboard 7000</_description>
<vendor>Microsoft Inc.</vendor>
diff --git a/symbols/inet b/symbols/inet
index ea7977fe..8739859b 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 <I192> { [ XF86Launch1 ] };
+ key <I192> { [ XF86Launch2 ] };
+ key <I193> { [ XF86Launch3 ] };
+ key <I194> { [ XF86Launch4 ] };
+ key <I195> { [ 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" {