From 5001e0b41a9ee22633b0a56571b2dc61bc55df4d Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Thu, 17 May 2012 14:21:00 -0600 Subject: [PATCH] Update FR OLPC layout Some keys have only two characters printed: the unmodified character, and a character in the Shift+AltGr position (upper right). For such keys, users were confused why the "other" character could not be accessed with AltGr alone. Make such keys behave shift-invariant to remove this confusion. Also add some obvious omissions from the previous submission fixing various other keys that weren't working as printed. The corresponding keyboard can be seen here: http://wiki.laptop.org/go/OLPC_Azerty_Keyboard Investigation and original patch from Walter Bender. https://bugs.freedesktop.org/show_bug.cgi?id=50064 --- symbols/fr | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/symbols/fr b/symbols/fr index 85bcd55..45ef6a4 100644 --- a/symbols/fr +++ b/symbols/fr @@ -48,13 +48,17 @@ xkb_symbols "olpc" { name[Group1]="French"; - key { [ z, Z, VoidSymbol, guillemotleft ] }; - - key { [ s, S, VoidSymbol, ssharp ] }; - - key { [ x, X, VoidSymbol, guillemotright ] }; - - key { [ less, greater ] }; + key { [ less, greater ] }; + key { [ dead_circumflex, dead_diaeresis, notsign, dead_abovering ] }; + key { [ semicolon, period, underscore, multiply ] }; + key { [ twosuperior, asciitilde, VoidSymbol, VoidSymbol ] }; + + // Some keys only have the Shift+AltGr character printed on them (alongside + // the unmodified one). Make such keys shift-invariant so that the printed + // value is achieved by pressing AltGr or Shift+AltGr. + key { [ x, X, guillemotright, guillemotright ] }; + key { [ s, S, ssharp, ssharp ] }; + key { [ z, Z, guillemotleft, guillemotleft ] }; }; partial alphanumeric_keys -- 2.32.0.93.g670b81a890