After reading docs and some trial and error, I found out if you do the
changes below in /usr/share/X11/xkb/ and select enlish/GB keyboard
the Think Outside Stowaway Sierra Full Size Bluetooth Keyboard
will mostly work ok (with AltGr instead of the Fn key to get the blue
symbols and compose for accents - I'm french :).
I did not succeed in getting the EIGHT_LEVEL or level5 mode to work
and define more key combos with Fn+key. If any xkb syntax expert
is lurking arount, help welcomed.
Laurent
http://guerby.org/blog/
$ diff -u compat/level5 compat/level5_save
--- compat/level5 2007-01-20 21:34:43.0 +0100
+++ compat/level5_save 2007-01-20 21:34:43.0 +0100
@@ -15,13 +15,13 @@
latchMods.latchToLock= True;
//ISO_Level5_Shift
-interpret Hyper_L+Any {
+interpret 0xfe11+Any {
useModMapMods= level1;
virtualModifier= LevelFive;
action= SetMods(modifiers=LevelFive);
};
-interpret Hyper_L {
+interpret 0xfe11 {
action= SetMods(modifiers=LevelFive);
};
[EMAIL PROTECTED]:~/tmp/n$ diff -u compat/level5_save compat/level5
--- compat/level5_save 2007-01-20 21:34:43.0 +0100
+++ compat/level5 2007-01-20 21:34:43.0 +0100
@@ -15,13 +15,13 @@
latchMods.latchToLock= True;
//ISO_Level5_Shift
-interpret 0xfe11+Any {
+interpret Hyper_L+Any {
useModMapMods= level1;
virtualModifier= LevelFive;
action= SetMods(modifiers=LevelFive);
};
-interpret 0xfe11 {
+interpret Hyper_L {
action= SetMods(modifiers=LevelFive);
};
$ diff -u symbols/level5_save symbols/level5
--- symbols/level5_save 2007-01-20 21:34:34.0 +0100
+++ symbols/level5 2007-01-20 21:34:34.0 +0100
@@ -12,7 +12,7 @@
xkb_symbols rctrl_switch {
key RCTL {
type[Group1]=ONE_LEVEL,
-symbols[Group1] = [ 0xfe11 ]
+symbols[Group1] = [ Hyper_L ]
};
- modifier_map Mod3 { 0xfe11 };
+ modifier_map Mod3 { Hyper_L };
};
$ diff -u symbols/gb_save symbols/gb
--- symbols/gb_save 2007-01-20 21:34:34.0 +0100
+++ symbols/gb 2007-01-20 21:34:33.0 +0100
@@ -16,17 +16,26 @@
name[Group1]=United Kingdom;
-key AE02 { [ 2, quotedbl, twosuperior,oneeighth ] };
-key AE03 { [ 3, sterling, threesuperior,sterling ] };
-key AE04 { [ 4, dollar, EuroSign, onequarter ] };
+// key AE02 { [ 2, quotedbl, twosuperior,oneeighth ]
};
+// key AE03 { [ 3, sterling, threesuperior,sterling ]
};
+// key AE04 { [ 4, dollar, EuroSign, onequarter ]
};
+
+// key AC11 { [apostrophe, at, dead_circumflex, dead_caron]
};
+// key TLDE { [ grave,notsign, bar, bar ]
};
+
+// key BKSL { [numbersign, asciitilde, dead_grave, dead_breve ]
};
+// key LSGT { [ backslash,bar, bar,brokenbar ]
};
+
+key AD10 { [ p, P,sterling,THORN ]
};
+key AD06 { [ y, Y,yen, leftarrow ] };
+key AD03 { [ e, E, EuroSign, cent, EuroSign
] };
+key TAB { [ Tab, ISO_Left_Tab, Escape, Escape] };
-key AC11 { [apostrophe, at, dead_circumflex, dead_caron] };
-key TLDE { [ grave,notsign, bar, bar ] };
-
-key BKSL { [numbersign, asciitilde, dead_grave, dead_breve ] };
-key LSGT { [ backslash,bar, bar,brokenbar ] };
+key MENU {[ Hyper_L ] };
include level3(ralt_switch_multikey)
+
+
};
partial alphanumeric_keys
$
On Sat, 2007-01-20 at 14:16 +0100, Laurent GUERBY wrote:
Hi,
I have an N800 and a sierra bluetooth keyboard. It looks like the Fn
key of this keyboard is not processed by the keyboard but sent
to the N800 and interpreted as the Menu key, so in practice all keys
that should be accessible using the Fn key as modifier don't work. This
includes F1..F12, PageUp/Down, EuroSign, YenSign, ... so it's
pretty annoying.
It looks like there is lots of interesting keyboard stuff
in /usr/share/X11/xkb/ on my N800, any idea on how to define an adapted
layout? (I assume defining the Fn key as a modifier Hyper_R or something
then adding definitions on the other keys.)
Thanks in advance,
Laurent
References:
* Think Outside Stowaway Sierra Full Size Bluetooth Keyboard
http://www.expansys.com/p.aspx?i=137486
(I have a qwerty model)
* https://maemo.org/bugzilla/show_bug.cgi?id=333
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers