[BRLTTY] Customizing key bindings.

Dave Mielke dave at mielke.cc
Thu Mar 29 13:54:29 EDT 2018


The latest development code contains improved support for overriding key 
bindings. It used to be that you had to maintain a complete copy of whichever 
key table or subtable defined the bindings that you wanted to override. That 
was because the key table facility didn't handle multiple bindings to the same 
key combination very well.  One of the obvious problems with this limitation 
was that, once copied, you'd no lnger automatically pick up further official 
changes to that same key table or subtable.

This has been fixed within the latest development code. If there are multiple 
bindings (this also applies to map, hotkey, and ignore) to the same key 
combination, the last one silently wins. To customize just a few bindings, 
therefore, your customized file should start with an include to pick up the 
official file, and then just specify the customizations that you'd like to 
make.

Note that your include just needs to specify the file name - its path isn't 
necessary. Brltty "knows" that it's already reading your customized copy, so, 
when doing the include, it skips over it and finds the official copy.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke           | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list