clone 360813 -1
reassign -1 console-tools
thanks

On Wed, Apr 05, 2006 at 12:31:35AM +0200, Samuel Thibault wrote:
> Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> > > If this is ok, I'll additionally patch keymaps for mapping
> > > alt-altgr-[ASDFJKLM] to braille dots.
> > 
> > Please do, keymaps are shipped in console-data.
> 
> Ok.
> 
> > But note that we have not yet switched from console-tools to kbd,
> 
> Ah. Should I also submit a patch to console-tools for braille keysym
> names?

No need to, let's play with control bot ;)

It seems that KT_BRL will be set to 14 and not 13, so I slightly
modified your patch, here it is.

Denis
diff -upr kbd-1.12/src/ksyms.c kbd-1.12-mine/src/ksyms.c
--- kbd-1.12/src/ksyms.c        2006-04-04 22:15:32.000000000 +0200
+++ kbd-1.12-mine/src/ksyms.c   2006-04-04 22:14:59.000000000 +0200
@@ -1498,6 +1498,20 @@
        "SCtrlR"
 };
 
+/* Keysyms whose KTYP is KT_BRL. */
+
+static const char *brl_syms[] = {
+       "Brl_blank",
+       "Brl_dot1",
+       "Brl_dot2",
+       "Brl_dot3",
+       "Brl_dot4",
+       "Brl_dot5",
+       "Brl_dot6",
+       "Brl_dot7",
+       "Brl_dot8"
+};
+
 #define E(x) { x, sizeof(x) / sizeof(x[0]) }
 
 syms_entry syms[] = {
@@ -1513,7 +1527,9 @@ syms_entry syms[] = {
        E(ascii_syms),          /* KT_ASCII */
        E(lock_syms),           /* KT_LOCK */
        { 0, 0 },               /* KT_LETTER */
-       E(sticky_syms)          /* KT_SLOCK */
+       E(sticky_syms),         /* KT_SLOCK */
+       { 0, 0 },               /* */
+       E(brl_syms)             /* KT_BRL */
 };
 
 #undef E

Reply via email to