[BRLTTY] INKA horizontal sensors

Dave Mielke dave at mielke.cc
Tue Oct 25 22:53:21 EDT 2011


[quoted lines by Jason White on 2011/10/26 at 11:29 +1100]

>The horizontal sensors, by themselves, function correctly for cursor routing.
>However, the combinations of display keys + sensors, which ought to mark and
>cut text, don't invoke the required operations. I've looked at the kti files
>for the INKA and the Baum driver, and while I can see a mapping of horizontal
>sensors to routing, it isn't clear whether this entry should also handle
>sensors activated in combination with display keys or whether there is a need
>for additional entries, perhaps even code changes, to handle this case.

The other functions weren't bound. Please test with the attached 
"brl-bm-horizontal.kti". If it works, I'll work out a way to do it with no 
duplication.

Can you please also test the switches to see if they all work as expected? We 
haven't been able to test them at all since the switch to key tables.

-- 
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/
-------------- next part --------------
###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2011 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://mielke.cc/brltty/
#
# This software is maintained by Dave Mielke <dave at mielke.cc>.
###############################################################################

# This key subtable is for Baum displays which have horizontal sensors.

bind HorizontalSensor ROUTE

bind Display1+HorizontalSensor CUTBEGIN
bind Display2+HorizontalSensor CUTAPPEND
bind Display4+HorizontalSensor CUTLINE
bind Display5+HorizontalSensor CUTRECT
bind HorizontalSensor+!HorizontalSensor COPYCHARS
bind Display2+HorizontalSensor+!HorizontalSensor APNDCHARS

bind Display3+HorizontalSensor DESCCHAR
bind Display6+HorizontalSensor SETLEFT

bind Display2+Display1+HorizontalSensor PRINDENT
bind Display2+Display3+HorizontalSensor NXINDENT

bind Display5+Display4+HorizontalSensor PRDIFCHAR
bind Display5+Display6+HorizontalSensor NXDIFCHAR

bind Display1+Display3+HorizontalSensor SETMARK
bind Display4+Display6+HorizontalSensor GOTOMARK



More information about the BRLTTY mailing list