192 |
- |
1 |
###############################################################################
|
|
|
2 |
# BRLTTY - A background process providing access to the console screen (when in
|
|
|
3 |
# text mode) for a blind person using a refreshable braille display.
|
|
|
4 |
#
|
|
|
5 |
# Copyright (C) 1995-2018 by The BRLTTY Developers.
|
|
|
6 |
#
|
|
|
7 |
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
|
|
|
8 |
#
|
|
|
9 |
# This is free software, placed under the terms of the
|
|
|
10 |
# GNU Lesser General Public License, as published by the Free Software
|
|
|
11 |
# Foundation; either version 2.1 of the License, or (at your option) any
|
|
|
12 |
# later version. Please see the file LICENSE-LGPL for details.
|
|
|
13 |
#
|
|
|
14 |
# Web Page: http://brltty.com/
|
|
|
15 |
#
|
|
|
16 |
# This software is maintained by Dave Mielke <dave@mielke.cc>.
|
|
|
17 |
###############################################################################
|
|
|
18 |
|
|
|
19 |
title Bindings for Keypad-based Navigation
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
####################
|
|
|
23 |
# Default Bindings #
|
|
|
24 |
####################
|
|
|
25 |
|
|
|
26 |
bind KP0+!KP5 HOME
|
|
|
27 |
bind KP0+!KP4 FWINLT
|
|
|
28 |
bind KP0+!KP6 FWINRT
|
|
|
29 |
bind KP0+!KP8 LNUP
|
|
|
30 |
bind KP0+!KP2 LNDN
|
|
|
31 |
bind KP0+!KP7 TOP_LEFT
|
|
|
32 |
bind KP0+!KP1 BOT_LEFT
|
|
|
33 |
bind KP0+!KP9 PRDIFLN
|
|
|
34 |
bind KP0+!KP3 NXDIFLN
|
|
|
35 |
bind KP0+!KPDivide CSRTRK
|
|
|
36 |
bind KP0+!KPMultiply DISPMD
|
|
|
37 |
bind KP0+!KPMinus SIXDOTS+off
|
|
|
38 |
bind KP0+!KPPlus SIXDOTS+on
|
|
|
39 |
|
|
|
40 |
bind KPPeriod+!KP5 BACK
|
|
|
41 |
bind KPPeriod+!KP4 FWINLTSKIP
|
|
|
42 |
bind KPPeriod+!KP6 FWINRTSKIP
|
|
|
43 |
bind KPPeriod+!KP8 PRPGRPH
|
|
|
44 |
bind KPPeriod+!KP2 NXPGRPH
|
|
|
45 |
bind KPPeriod+!KP7 PRPROMPT
|
|
|
46 |
bind KPPeriod+!KP1 NXPROMPT
|
|
|
47 |
bind KPPeriod+!KP9 ATTRUP
|
|
|
48 |
bind KPPeriod+!KP3 ATTRDN
|
|
|
49 |
bind KPPeriod+!KPDivide CSRVIS
|
|
|
50 |
bind KPPeriod+!KPMultiply ATTRVIS
|
|
|
51 |
bind KPPeriod+!KPMinus BRLUCDOTS+off
|
|
|
52 |
bind KPPeriod+!KPPlus BRLUCDOTS+on
|
|
|
53 |
|
|
|
54 |
bind KP0+KPPeriod+!KP1 CHRLT
|
|
|
55 |
bind KP0+KPPeriod+!KP2 CSRJMP_VERT
|
|
|
56 |
bind KP0+KPPeriod+!KP3 CHRRT
|
|
|
57 |
bind KP0+KPPeriod+!KP4 LNBEG
|
|
|
58 |
bind KP0+KPPeriod+!KP5 SETLEFT
|
|
|
59 |
bind KP0+KPPeriod+!KP6 LNEND
|
|
|
60 |
|
|
|
61 |
bind KPMinus+!KP5 PREFMENU
|
|
|
62 |
bind KPMinus+!KP4 PREFLOAD
|
|
|
63 |
bind KPMinus+!KP6 PREFSAVE
|
|
|
64 |
bind KPMinus+!KP8 INFO
|
|
|
65 |
bind KPMinus+!KP7 HELP
|
|
|
66 |
bind KPMinus+!KP9 LEARN
|
|
|
67 |
bind KPMinus+!KP2 FREEZE
|
|
|
68 |
bind KPMinus+!KP1 TIME
|
|
|
69 |
bind KPMinus+!KP3 DESCCHAR
|
|
|
70 |
bind KPMinus+!KPDivide RESTARTBRL
|
|
|
71 |
bind KPMinus+!KPMultiply RESTARTSPEECH
|
|
|
72 |
|
|
|
73 |
bind KPMultiply+!KP5 PASTE
|
|
|
74 |
bind KPMultiply+!KP7 CLIP_NEW
|
|
|
75 |
bind KPMultiply+!KP1 CLIP_ADD
|
|
|
76 |
bind KPMultiply+!KP9 COPY_LINE
|
|
|
77 |
bind KPMultiply+!KP3 COPY_RECT
|
|
|
78 |
bind KPMultiply+!KP8 PRINDENT
|
|
|
79 |
bind KPMultiply+!KP2 NXINDENT
|
|
|
80 |
bind KPMultiply+!KP4 PRDIFCHAR
|
|
|
81 |
bind KPMultiply+!KP6 NXDIFCHAR
|
|
|
82 |
bind KPMultiply+!KPMinus PRSEARCH
|
|
|
83 |
bind KPMultiply+!KPPlus NXSEARCH
|
|
|
84 |
|
|
|
85 |
assign kpAlt KP0
|
|
|
86 |
assign kpOne KP1
|
|
|
87 |
assign kpTwo KP2
|
|
|
88 |
assign kpThree KP3
|
|
|
89 |
assign kpFour KP4
|
|
|
90 |
assign kpFive KP5
|
|
|
91 |
assign kpSix KP6
|
|
|
92 |
assign kpSeven KP7
|
|
|
93 |
assign kpEight KP8
|
|
|
94 |
assign kpNine KP9
|
|
|
95 |
assign kpDivide KPDivide
|
|
|
96 |
assign kpMultiply KPMultiply
|
|
|
97 |
|
|
|
98 |
assign kpSay KPEnter
|
|
|
99 |
include kp_say.kti
|
|
|
100 |
|
|
|
101 |
assign kpSpeak KPPlus
|
|
|
102 |
include kp_speak.kti
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
#################
|
|
|
106 |
# Menu Bindings #
|
|
|
107 |
#################
|
|
|
108 |
|
|
|
109 |
context menu
|
|
|
110 |
|
|
|
111 |
bind KP0+!KP4 FWINLT
|
|
|
112 |
bind KP0+!KP6 FWINRT
|
|
|
113 |
bind KP0+!KP8 MENU_PREV_ITEM
|
|
|
114 |
bind KP0+!KP2 MENU_NEXT_ITEM
|
|
|
115 |
bind KP0+!KP7 MENU_FIRST_ITEM
|
|
|
116 |
bind KP0+!KP1 MENU_LAST_ITEM
|
|
|
117 |
bind KP0+!KP9 MENU_PREV_SETTING
|
|
|
118 |
bind KP0+!KP3 MENU_NEXT_SETTING
|
|
|
119 |
bind KP0+!KP5 MENU_PREV_LEVEL
|
|
|
120 |
|
|
|
121 |
bind KP0+!KPEnter PREFMENU
|
|
|
122 |
bind KP0+!KPPlus PREFSAVE
|
|
|
123 |
bind KP0+!KPMinus PREFLOAD
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
#################
|
|
|
127 |
# Braille Input #
|
|
|
128 |
#################
|
|
|
129 |
|
|
|
130 |
assign brailleOff KPEnter+!KPMinus
|
|
|
131 |
assign brailleOn KPEnter+!KPPlus
|
|
|
132 |
include braille.kti
|
|
|
133 |
|
|
|
134 |
|