[BRLTTY] Need help remapping display

Dave Mielke dave at mielke.cc
Mon Oct 24 16:58:37 EDT 2011


[quoted lines by S. Massy on 2011/10/24 at 16:05 -0400]

>Now, I see functions are mapped externally through files in /etc/brltty. 

Yes. They're called key tables. The one you probably want to update for the 
Brailliant is called "brl-bm-display6.kti".

>How could I assign some routing key combinations to certain functions? How 
>does one declare specific RoutingKey combination? 

As you've no doubt already observed, you can refer to an arbitrary routing key 
by "RoutingKey". You can refer to a specific routing key by adding a dot and a 
number (starting from 0). The leftmost routing key, therefore, is 
"RoutingKey.0", and the rightmost routing key (assuming a 40-cell display) is 
"RoutingKey.39".

You may wish to read the file "README-KTB". It's a little out-of-date, but 
it'll still hopefully be helpful. Nothing in it is old and no longer usable. 
It's just that documentation for some new features hasn't yet been added to it.

>What is the meaning of the operator ! , 

It means that the function is invoked as soon as you press the key. Without it, 
the function isn't invoked until at least one key is released.

>as in RoutingKey+!RoutingKey?

That means that the function is invoked as soon as the second routing key is 
pressed.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the End of Salvation.
EMail: dave at mielke.cc | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list