[BRLTTY] [PATCH 1/6] Alva BC6xx: improve cursor tracking bindings

Nicolas Pitre nico at fluxnic.net
Wed Jan 23 15:36:30 EST 2013


1) Move cursor tracking from atoggle to a stateless transition by relying
   on the order used to press the ThumbUp + ThumbDown keys.  Press ThumbUp
   first then ThumbDown to turn on cursor tracking, and the opposite motion
   to turn it off.

2) Bind the RETURN function to the ThumbHome key rather than HOME and
   free the ETouch keys from the almost similar BACK function to make
   them available for other purposes.
---
 Tables/brl-al-bc.ktb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Tables/brl-al-bc.ktb b/Tables/brl-al-bc.ktb
index 7dc91ae..164222e 100644
--- a/Tables/brl-al-bc.ktb
+++ b/Tables/brl-al-bc.ktb
@@ -39,9 +39,9 @@ bind ETouchLeftRear+ETouchRightFront LEARN
 bind ETouchLeftFront+ETouchRightRear INFO
 bind ETouchLeftFront+ETouchRightFront PREFMENU
 
-bind ThumbUp+ThumbDown CSRTRK
-bind ThumbHome HOME
-bind ETouchLeftRear+ETouchLeftFront BACK
+bind ThumbUp+!ThumbDown CSRTRK+on
+bind ThumbDown+!ThumbUp CSRTRK+off
+bind ThumbHome RETURN
 
 bind ThumbUp LNUP
 bind ThumbDown LNDN
-- 
1.8.0



More information about the BRLTTY mailing list