new keyboard config
Hi,
I am attaching here a patch which enables suport of my new Internet keyboard.
Please apply, and send to XFree86 and xorg mantainers.
I will probably send mysefl to XFree86 but I was looking for xorg contact man
for such thing, and could not find any in
http://freedesktop.org/Software/xorg
The keyboard manufacture page is:
http://sweex.com/product.asp?pid=70
http://www.kmepc.com/B00_products/01_keyboard/03_standard_keyboard/033_desktop/KB_9801.htm
http://www.mge-usa.com/home/detail.asp?iPro=165&iType=301
Thank you in advance
--
diego, kde-il translation team, http://www.kde.org/il
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
diff -ru /root/xsave/xkb/rules/xfree86 xkb/rules/xfree86
--- /root/xsave/xkb/rules/xfree86 2004-09-28 14:03:56.000000000 +0200
+++ xkb/rules/xfree86 2004-11-05 23:31:51.000000000 +0200
@@ -113,7 +113,8 @@
qtronix \
samsung4500 samsung4510 \
sk1300 sk2500 sk6200 sk7100 \
- sven symplon toshiba_s3000 trust trustda yahoo
+ sven symplon toshiba_s3000 trust trustda yahoo \
+ sweex23
! model = symbols
$inetkbds = +inet(%m)
diff -ru /root/xsave/xkb/rules/xfree86.lst xkb/rules/xfree86.lst
--- /root/xsave/xkb/rules/xfree86.lst 2004-09-28 14:03:56.000000000 +0200
+++ xkb/rules/xfree86.lst 2004-11-05 23:32:23.000000000 +0200
@@ -23,7 +23,7 @@
airkey Acer AirKey V
acpi ACPI Standard
scorpius Advance Scorpius KI
- brother Brother Internet Keyboard
+ brother Brother Internet Keyboard
btc5113rf BTC 5113RF Multimedia
btc5126t BTC 5126T
btc9000 BTC 9000
@@ -96,7 +96,8 @@
toshiba_s3000 Toshiba Satellite S3000
trust Trust Wireless Keyboard Classic
trustda Trust Direct Access Keyboard
- yahoo Yahoo! Internet Keyboard
+ yahoo Yahoo! Internet Keyboard\
+ sweex23 Sweex SW-23
// The entries here should be ordered as follows:
diff -ru /root/xsave/xkb/rules/xfree86.xml xkb/rules/xfree86.xml
--- /root/xsave/xkb/rules/xfree86.xml 2004-09-28 14:03:56.000000000 +0200
+++ xkb/rules/xfree86.xml 2004-11-05 23:34:57.000000000 +0200
@@ -601,6 +601,15 @@
<description xml:lang="ru">PowerPC PS/2</description>
</configItem>
</model>
+
+ <model>
+ <configItem>
+ <name>sweex23</name>
+ <description>Sweex SW-23</description>
+ </configItem>
+ </model>
+
+
</modelList>
<layoutList>
<layout>
diff -ru /root/xsave/xkb/symbols/inet xkb/symbols/inet
--- /root/xsave/xkb/symbols/inet 2004-05-29 10:51:27.000000000 +0300
+++ xkb/symbols/inet 2004-11-05 23:28:22.000000000 +0200
@@ -1791,3 +1791,39 @@
key <I5F> { [ XF86Standby ] };
key <I63> { [ XF86WakeUp ] };
};
+
+
+
+// Added by Diego Iastrubni <elcuco@kde.org>
+// http://www.sweex.com/product.asp?pid=70
+partial alphanumeric_keys
+xkb_symbols "sweex23" {
+ name[Group1]= "Sweex SW-23";
+
+ // Internet
+ key <I6A> { [ XF86Back ] };
+ key <I69> { [ XF86Forward ] };
+ key <I68> { [ XF86Stop ] };
+ key <I66> { [ XF86Favorites ] };
+ key <I65> { [ XF86Search ] };
+ key <I67> { [ XF86Refresh ] };
+ key <I32> { [ XF86HomePage, XF86WWW ] };
+ key <I6C> { [ XF86Mail ] };
+
+ // Audio
+ key <I20> { [ XF86AudioMute ] };
+ key <I2E> { [ XF86AudioLowerVolume ] };
+ key <I30> { [ XF86AudioRaiseVolume ] };
+ key <I6D> { [ XF86AudioMedia ] };
+ key <I24> { [ XF86AudioStop ] };
+ key <I22> { [ XF86AudioPlay, XF86AudioPause ] };
+ key <I19> { [ XF86AudioNext ] };
+ key <I10> { [ XF86AudioPrev ] };
+
+ // Program File
+ key <I21> { [ XF86Calculator ] };
+ key <I6B> { [ XF86MyComputer ] };
+ key <I5E> { [ XF86PowerOff ] };
+ key <I5F> { [ XF86Standby ] };
+ key <I63> { [ XF86WakeUp ] };
+};
\ No newline at end of file
diff -ru /root/xsave/xkb/symbols.dir xkb/symbols.dir
--- /root/xsave/xkb/symbols.dir 2004-09-28 14:03:53.000000000 +0200
+++ xkb/symbols.dir 2004-11-05 23:31:33.000000000 +0200
@@ -243,6 +243,7 @@
--p----- a------- inet(acpi)
--p----- a------- inet(scorpius)
--p----- a------- inet(brother)
+--p----- a------- inet(sweex23)
--p----- a------- inet(btc5113rf)
--p----- a------- inet(btc5126t)
--p----- a------- inet(btc9000)
Reply to: