[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xougen] Keyboard definitions
From: |
Achim Bohnet |
Subject: |
[xougen] Keyboard definitions |
Date: |
Wed, 10 Sep 2003 19:13:02 +0200 |
User-agent: |
KMail/1.5.3 |
Hi,
I've read a lot about drivers, extentions etc. Are there also
some plans how to handle (laptop) keyboard definitions?
When you look at various linux-of-latop-model-xyz pages you'll
find a lot of xmodmap definitions defining Fxy. I never liked
those hacks especially since there are those nice, but unkown
as it seems, XF86* Keysyms.
Popular usage of the XF86* Keysyms would allow applications to
define hotkey defaults out of the box.
As an example I've appended my Dell D600m xkb settings.
o called it Dell_laptop, better Dell_D600m but I was optimistic ;)
o There a xfree86 need another Keysym XF86Battery missing so
I had to miss use XF86Lauch1
o is there a tools to handle creation form symbols.dir from
symbols/*?
Any ideas how to handle easliy such contributions from laptop
owners all around the world? ;) Rules files is most tricky to
extent IMHO because it has several subgroups.
Achim
--- etc/X11/xkb/rules/xfree86.orig Thu Jul 17 12:04:57 2003
+++ etc/X11/xkb/rules/xfree86 Mon Aug 25 23:27:48 2003
@@ -34,6 +34,7 @@
rapidaccess2 = xfree86 pc(pc104)
chicony = xfree86 pc(pc104)
dell = xfree86 pc(pc104)
+ dell_laptop = xfree86 pc(pc104)
macintosh = xfree86 macintosh(macintosh)
macintosh_old = macintosh macintosh(macintosh)
powerpcps2 = powerpcps2 pc(pc104)
@@ -124,6 +125,9 @@
dell us = us(pc104)+inet(dell)
dell en_US = en_US(pc104)+inet(dell)
dell * = en_US(pc104)+inet(dell)+%l%(v)
+ dell_laptop us = us(pc104)+inet(dell_laptop)
+ dell_laptop en_US = en_US(pc104)+inet(dell_laptop)
+ dell_laptop * = en_US(pc104)+inet(dell_laptop)+%l%(v)
macintosh us = macintosh/us(extended)
macintosh en_US = macintosh/us(extended)
macintosh * = macintosh/us(extended)+macintosh/%l%(v)
--- etc/X11/xkb/rules/xfree86.lst.orig Thu Jul 17 12:04:57 2003
+++ etc/X11/xkb/rules/xfree86.lst Tue Aug 26 00:07:21 2003
@@ -32,7 +32,7 @@
rapidaccess2 IBM Rapid Access II
chicony Chicony Internet Keyboard
dell Dell Internet Keyboard
-
+ dell_laptop Dell Laptop
// The entries here should be ordered as follows:
//
--- etc/X11/xkb/symbols.dir.orig Thu Jul 17 12:04:57 2003
+++ etc/X11/xkb/symbols.dir Mon Aug 25 23:30:52 2003
@@ -208,6 +208,7 @@
--p----- a------- inet(rapidaccess2)
--p----- a------- inet(chicony)
--p----- a------- inet(dell)
+--p----- a------- inet(dell_laptop)
-dp----- a------- ir(basic)
--p----- a------- ir(digits)
-dp----- a------- is(default)
--- etc/X11/xkb/symbols/inet.orig Thu Jul 17 12:04:58 2003
+++ etc/X11/xkb/symbols/inet Mon Aug 25 23:38:10 2003
@@ -292,4 +292,20 @@
key <I5F> { [ XF86Standby ] };
};
+partial alphanumeric_keys
+xkb_symbols "dell_laptop" {
+
+ // Describes the extra keys on Dell D600m
+
+ name[Group1]= "dell_laptop";
+// key <I05> { [ ??? ] }; //LCD backlight lower
+// key <I06> { [ ??? ] }; //LCD backlight raise
+// key <???> { [ XF86Standby ] }; //not recognized
+ key <I07> { [ XF86Launch1 ] }; //really: battery
+// key <I08> { [ ??? ] }; //toggle bluetooth
+ key <I09> { [ XF86Eject ] };
+ key <I20> { [ XF86AudioMute ] };
+ key <I2E> { [ XF86AudioLowerVolume ] };
+ key <I30> { [ XF86AudioRaiseVolume ] };
+};
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [xougen] Keyboard definitions,
Achim Bohnet <=