Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[deliverable/linux.git] / drivers / staging / speakup / spk_priv_keyinfo.h
CommitLineData
c6e3fd22 1/* spk_priv.h
7ea8778e
CM
2 * review functions for the speakup screen review package.
3 * originally written by: Kirk Reiser and Andy Berdan.
4 *
5 * extensively modified by David Borowski.
6 *
7 * Copyright (C) 1998 Kirk Reiser.
8 * Copyright (C) 2003 David Borowski.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
7ea8778e 19 */
c6e3fd22
WH
20
21#ifndef _SPEAKUP_KEYINFO_H
22#define _SPEAKUP_KEYINFO_H
23
24#define FIRST_SYNTH_VAR RATE
25/* 0 is reserved for no remap */
26#define SPEAKUP_GOTO 0x01
27#define SPEECH_KILL 0x02
28#define SPEAKUP_QUIET 0x03
29#define SPEAKUP_CUT 0x04
30#define SPEAKUP_PASTE 0x05
31#define SAY_FIRST_CHAR 0x06
32#define SAY_LAST_CHAR 0x07
33#define SAY_CHAR 0x08
34#define SAY_PREV_CHAR 0x09
35#define SAY_NEXT_CHAR 0x0a
36#define SAY_WORD 0x0b
37#define SAY_PREV_WORD 0x0c
38#define SAY_NEXT_WORD 0x0d
39#define SAY_LINE 0x0e
40#define SAY_PREV_LINE 0x0f
41#define SAY_NEXT_LINE 0x10
42#define TOP_EDGE 0x11
43#define BOTTOM_EDGE 0x12
44#define LEFT_EDGE 0x13
45#define RIGHT_EDGE 0x14
46#define SPELL_PHONETIC 0x15
47#define SPELL_WORD 0x16
48#define SAY_SCREEN 0x17
49#define SAY_POSITION 0x18
50#define SAY_ATTRIBUTES 0x19
51#define SPEAKUP_OFF 0x1a
52#define SPEAKUP_PARKED 0x1b
53#define SAY_LINE_INDENT 0x1c
54#define SAY_FROM_TOP 0x1d
55#define SAY_TO_BOTTOM 0x1e
56#define SAY_FROM_LEFT 0x1f
57#define SAY_TO_RIGHT 0x20
58#define SAY_CHAR_NUM 0x21
59#define EDIT_SOME 0x22
60#define EDIT_MOST 0x23
61#define SAY_PHONETIC_CHAR 0x24
62#define EDIT_DELIM 0x25
63#define EDIT_REPEAT 0x26
64#define EDIT_EXNUM 0x27
65#define SET_WIN 0x28
66#define CLEAR_WIN 0x29
67#define ENABLE_WIN 0x2a
68#define SAY_WIN 0x2b
69#define SPK_LOCK 0x2c
70#define SPEAKUP_HELP 0x2d
71#define TOGGLE_CURSORING 0x2e
72#define READ_ALL_DOC 0x2f
73#define SPKUP_MAX_FUNC 0x30 /* one greater than the last func handler */
74
75#define SPK_KEY 0x80
76#define FIRST_EDIT_BITS 0x22
77
78#define FIRST_SET_VAR SPELL_DELAY
79#define VAR_START 0x40 /* increase if adding more than 0x3f functions */
80
81/* keys for setting variables, must be ordered same as the enum for var_ids */
82/* with dec being even and inc being 1 greater */
2c62c674
TH
83#define SPELL_DELAY_DEC (VAR_START+0)
84#define SPELL_DELAY_INC (SPELL_DELAY_DEC+1)
85#define PUNC_LEVEL_DEC (SPELL_DELAY_DEC+2)
86#define PUNC_LEVEL_INC (PUNC_LEVEL_DEC+1)
87#define READING_PUNC_DEC (PUNC_LEVEL_DEC+2)
88#define READING_PUNC_INC (READING_PUNC_DEC+1)
89#define ATTRIB_BLEEP_DEC (READING_PUNC_DEC+2)
90#define ATTRIB_BLEEP_INC (ATTRIB_BLEEP_DEC+1)
91#define BLEEPS_DEC (ATTRIB_BLEEP_DEC+2)
92#define BLEEPS_INC (BLEEPS_DEC+1)
93#define RATE_DEC (BLEEPS_DEC+2)
94#define RATE_INC (RATE_DEC+1)
95#define PITCH_DEC (RATE_DEC+2)
96#define PITCH_INC (PITCH_DEC+1)
97#define VOL_DEC (PITCH_DEC+2)
98#define VOL_INC (VOL_DEC+1)
99#define TONE_DEC (VOL_DEC+2)
100#define TONE_INC (TONE_DEC+1)
101#define PUNCT_DEC (TONE_DEC+2)
102#define PUNCT_INC (PUNCT_DEC+1)
103#define VOICE_DEC (PUNCT_DEC+2)
104#define VOICE_INC (VOICE_DEC+1)
c6e3fd22
WH
105
106#endif
This page took 0.428044 seconds and 5 git commands to generate.