[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222804: Symbol mapping for evo (compaq laptop) keyboard



Package: xlibs-data
Version: 4.3.0-0pre1v1
Severity: wishlist
Tags: patch

  Hi,

  On my compaq evo N800c laptop, there are 6 keys for multimedia
purpose. I tried to make an xkb config for these keys. This work for me
but this can be interesting for other.

  Here is a path I have done for the /etc/X11/xkb dir. Feel free to use
it as you want.

  Best regards,
    Vincent Danjean


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux galadriel 2.4.23-rc5-act #1 Sat Nov 29 19:11:21 CET 2003 i686
Locale: LANG=C, LC_CTYPE=fr_FR@euro

-- no debconf information

diff -Naur orig/rules/xfree86 new/rules/xfree86
--- orig/rules/xfree86	2003-12-03 14:41:57.000000000 +0100
+++ new/rules/xfree86	2003-11-24 10:22:04.000000000 +0100
@@ -97,7 +97,7 @@
               btc5113rf btc5126t btc9000 btc9000a \
               cherryblue cherrybluea \
               chicony chicony9885 \
-              compaqeak8 compaqik7 compaqik13 compaqik18 armada presario ipaq \
+              compaqevo compaqeak8 compaqik7 compaqik13 compaqik18 armada presario ipaq \
               dell inspiron \
               dexxa diamond genius \
               ennyah_dkb1008 \
diff -Naur orig/symbols/inet new/symbols/inet
--- orig/symbols/inet	2003-12-03 14:42:16.000000000 +0100
+++ new/symbols/inet	2003-12-03 11:53:40.000000000 +0100
@@ -402,6 +402,18 @@
 };
 
 partial alphanumeric_keys
+xkb_symbols "compaqevo" {
+    name[Group1]= "Laptop/notebook Compaq (eg. Evo) Laptop Keyboard";
+
+    key <I23>	{	[ XF86WWW		]	};
+    key <I1E>	{	[ XF86Mail		]	};
+    key <I1A>	{	[ XF86Search		]	};
+    key <I6F>	{	[ XF86AudioMedia	]	};
+    key <I2E>	{	[ XF86AudioLowerVolume	]	};
+    key <I30>	{	[ XF86AudioRaiseVolume	]	};
+};
+
+partial alphanumeric_keys
 xkb_symbols "ipaq" {
     name[Group1]= "Compaq iPaq Keyboard";
 
diff -Naur orig/symbols.dir new/symbols.dir
--- orig/symbols.dir	2003-12-03 14:41:40.000000000 +0100
+++ new/symbols.dir	2003-11-24 10:21:36.000000000 +0100
@@ -249,6 +249,7 @@
 --p----- a------- inet(cherrybluea)
 --p----- a------- inet(chicony)
 --p----- a------- inet(chicony9885)
+--p----- a------- inet(compaqevo)
 --p----- a------- inet(compaqeak8)
 --p----- a------- inet(compaqik7)
 --p----- a------- inet(compaqik13)

Reply to: