[BRLTTY] Defining CapsLock for braille keyboard

Dave Mielke dave at mielke.cc
Sun Aug 20 11:51:58 EDT 2017


[quoted lines by payman shaykhmehdi on 2017/08/20 at 16:08 +0430]

>Is it possible to bind a combination of braille display keys to CapsLock
>key in .ktb file? I have tried to bind keys to KEY_CAPSLOCK but that
>doesn't work.

Brltty has a set of sticky modifier commands - one for each modifier flag - 
e.g. BRL_CMD_UPPER. Pressing it once turns its flag on for the next typed 
character, pressing it twice locks its flag on, and pressing it a third time 
turns its flag off. If nothing is done for five seconds then all of the sticky 
modifiers are automatically turned off.

If your braille device has a braille keyboard then it probably has these 
bindings (defined in :

   Space+Dot1+Dot8 GUI (windows key)
   Space+Dot2+Dot8 META (left alt)
   Space+Dot3+Dot8 CONTROL
   Space+Dot4+Dot8 SHIFT
   Space+Dot5+Dot8 ALTGR (right alt)
   Space+Dot6+Dot8 UPPER
   Space+Dot7+Dot8 UNSTICK

-- 
Dave Mielke           | 2213 Fox Crescent | http://Mielke.cc/
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada  K2A 1H7   | The Bible is the very Word of God.


More information about the BRLTTY mailing list