~ubuntu-branches/ubuntu/quantal/brltty/quantal-proposed

« back to all changes in this revision

Viewing changes to Programs/brldefs.h

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2012-06-08 14:56:32 UTC
  • mfrom: (2.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20120608145632-xr5cg5x2is0mo8ng
Tags: 4.4-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Add brltty-setup, installed in both the udeb and the normal system.
  - Add initramfs integration to run brltty-setup if necessary before
    usplash starts.
  - Add ubiquity integration to propagate any brltty configuration to the
    target system.
  - Add udev rules and /lib/brltty/brltty.sh to the normal (non-udeb)
    package as well.
  - Enable brltty if /etc/default/brltty has RUN_BRLTTY=yes, which is set
    by the installer if brltty is configured; add a NEWS entry for
    upgraders.
  - Don't install /etc/brltty.conf in the package
  - Install udev rules with the same name (85-brltty.rules) in the udeb as
    in the deb.
  - Remove the dh-lisp build-dependency, remove the cl-brlapi package, and
    adjust the brltty package description accordingly. dh-lisp is not
    in main.
  - Build for all python versions (python 2.6), not just the current
    version.
  - Enable brltty at startup on the target system if the alternate installer
    is used.
  - Create separate rules file for the brltty deb, with the rules now
    pointing to a separate script
  - Add gbp.conf file for git buildpackage
  - Do not build the at-spi driver, the legacy at-spi stack is no longer in
    the archive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * BRLTTY - A background process providing access to the console screen (when in
3
3
 *          text mode) for a blind person using a refreshable braille display.
4
4
 *
5
 
 * Copyright (C) 1995-2011 by The BRLTTY Developers.
 
5
 * Copyright (C) 1995-2012 by The BRLTTY Developers.
6
6
 *
7
7
 * BRLTTY comes with ABSOLUTELY NO WARRANTY.
8
8
 *
88
88
  BRL_CMD_NXPGRPH /* go down to first line of next paragraph */,
89
89
  BRL_CMD_PRPROMPT /* go up to previous command prompt */,
90
90
  BRL_CMD_NXPROMPT /* go down to next command prompt */,
91
 
  BRL_CMD_PRSEARCH /* search backward for cut text */,
92
 
  BRL_CMD_NXSEARCH /* search forward for cut text */,
 
91
  BRL_CMD_PRSEARCH /* search backward for clipboard text */,
 
92
  BRL_CMD_NXSEARCH /* search forward for clipboard text */,
93
93
  
94
94
  /* horizontal motion */
95
95
  BRL_CMD_CHRLT /* go left one character */,
162
162
  
163
163
  /* miscellaneous */
164
164
  BRL_CMD_CSRJMP_VERT /* bring cursor to line */,
165
 
  BRL_CMD_PASTE /* insert cut text at cursor */,
 
165
  BRL_CMD_PASTE /* insert clipboard text at cursor */,
166
166
  BRL_CMD_RESTARTBRL /* restart braille driver */,
167
167
  BRL_CMD_RESTARTSPEECH /* restart speech driver */,
168
168
 
169
169
  BRL_CMD_OFFLINE /* braille display temporarily unavailable */,
170
170
 
 
171
  BRL_CMD_SHIFT /* add shift modifier to next typed character or emulated key */,
 
172
  BRL_CMD_UPPER /* add upper modifier to next typed character or emulated key */,
 
173
  BRL_CMD_CONTROL /* add control modifier to next typed character or emulated key */,
 
174
  BRL_CMD_META /* add meta modifier to next typed character or emulated key */,
 
175
 
 
176
  BRL_CMD_TIME /* show the current date and time */,
 
177
  BRL_CMD_MENU_PREV_LEVEL /* go to previous menu level */,
 
178
 
 
179
  BRL_CMD_ASPK_SEL_LINE /* set autospeak selected line on/off */,
 
180
  BRL_CMD_ASPK_SEL_CHAR /* set autospeak selected character on/off */,
 
181
  BRL_CMD_ASPK_INS_CHARS /* set autospeak inserted characters on/off */,
 
182
  BRL_CMD_ASPK_DEL_CHARS /* set autospeak deleted characters on/off */,
 
183
  BRL_CMD_ASPK_REP_CHARS /* set autospeak replaced characters on/off */,
 
184
  BRL_CMD_ASPK_CMP_WORDS /* set autospeak completed words on/off */,
 
185
 
 
186
  BRL_CMD_SPEAK_CURR_CHAR /* speak current character */,
 
187
  BRL_CMD_SPEAK_PREV_CHAR /* go to and speak previous character */,
 
188
  BRL_CMD_SPEAK_NEXT_CHAR /* go to and speak next character */,
 
189
  BRL_CMD_SPEAK_CURR_WORD /* speak current word */,
 
190
  BRL_CMD_SPEAK_PREV_WORD /* go to and speak previous word */,
 
191
  BRL_CMD_SPEAK_NEXT_WORD /* go to and speak next word */,
 
192
  BRL_CMD_SPEAK_CURR_LINE /* speak current line */,
 
193
  BRL_CMD_SPEAK_PREV_LINE /* go to and speak previous line */,
 
194
  BRL_CMD_SPEAK_NEXT_LINE /* go to and speak next line */,
 
195
  BRL_CMD_SPEAK_FRST_CHAR /* go to and speak first non-blank character on line */,
 
196
  BRL_CMD_SPEAK_LAST_CHAR /* go to and speak last non-blank character on line */,
 
197
  BRL_CMD_SPEAK_FRST_LINE /* go to and speak first non-blank line on screen */,
 
198
  BRL_CMD_SPEAK_LAST_LINE /* go to and speak last non-blank line on screen */,
 
199
  BRL_CMD_DESC_CURR_CHAR /* describe current character */,
 
200
  BRL_CMD_SPELL_CURR_WORD /* spell current word */,
 
201
  BRL_CMD_ROUTE_CURR_LOCN /* bring cursor to speech location */,
 
202
  BRL_CMD_SPEAK_CURR_LOCN /* speak speech location */,
 
203
  BRL_CMD_SHOW_CURR_LOCN /* set speech location visibility on/off */,
 
204
 
171
205
  BRL_driverCommandCount /* must be last */
172
206
} BRL_DriverCommand;
173
207
 
190
224
 * used during automatic help file generation.
191
225
 */
192
226
#define BRL_BLK_ROUTE     0X0100 /* bring cursor to character */
193
 
#define BRL_BLK_CUTBEGIN  0X0200 /* start new cut buffer at character */
194
 
#define BRL_BLK_CUTAPPEND 0X0300 /* append to existing cut buffer from character */
195
 
#define BRL_BLK_CUTRECT   0X0400 /* rectangular cut to character */
196
 
#define BRL_BLK_CUTLINE   0X0500 /* linear cut to character */
 
227
#define BRL_BLK_CLIP_NEW  0X0200 /* start new clipboard at character */
 
228
#define BRL_BLK_CLIP_ADD  0X0300 /* append to clipboard from character */
 
229
#define BRL_BLK_COPY_RECT 0X0400 /* rectangular copy to character */
 
230
#define BRL_BLK_COPY_LINE 0X0500 /* linear copy to character */
197
231
#define BRL_BLK_SWITCHVT  0X0600 /* switch to virtual terminal */
198
232
#define BRL_BLK_PRINDENT  0X0700 /* go up to nearest line with less indent than character */
199
233
#define BRL_BLK_NXINDENT  0X0800 /* go down to nearest line with less indent than character */
206
240
#define BRL_FLG_LINE_SCALED 0X010000 /* scale arg=0X00-0XFF to screen height */
207
241
#define BRL_FLG_LINE_TOLEFT 0X020000 /* go to beginning of line */
208
242
 
209
 
#define BRL_BLK_PRDIFCHAR 0X0E00 /* go up to nearest line with different character */
210
 
#define BRL_BLK_NXDIFCHAR 0X0F00 /* go down to nearest line with different character */
211
 
#define BRL_BLK_COPYCHARS 0X1000 /* copy characters to cut buffer */
212
 
#define BRL_BLK_APNDCHARS 0X1100 /* append characters to cut buffer */
 
243
#define BRL_BLK_PRDIFCHAR   0X0E00 /* go up to nearest line with different character */
 
244
#define BRL_BLK_NXDIFCHAR   0X0F00 /* go down to nearest line with different character */
 
245
#define BRL_BLK_CLIP_COPY   0X1000 /* copy characters to clipboard */
 
246
#define BRL_BLK_CLIP_APPEND 0X1100 /* append characters to clipboard */
 
247
#define BRL_BLK_PWGEN       0X1200 /* put random password into clipboard */
213
248
 
214
249
/* For entering a special key. */
215
250
#define BRL_BLK_PASSKEY 0X2000 /* emulate special key */