2
review functions for the speakup screen review package.
3
originally written by: Kirk Reiser and Andy Berdan.
5
extensively modified by David Borowski.
7
Copyright (C) 1998 Kirk Reiser.
8
Copyright (C) 2003 David Borowski.
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.
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.
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
#ifndef _SPEAKUP_KEYINFO_H
26
#define _SPEAKUP_KEYINFO_H
28
#define FIRST_SYNTH_VAR RATE
29
/* 0 is reserved for no remap */
30
#define SPEAKUP_GOTO 0x01
31
#define SPEECH_KILL 0x02
32
#define SPEAKUP_QUIET 0x03
33
#define SPEAKUP_CUT 0x04
34
#define SPEAKUP_PASTE 0x05
35
#define SAY_FIRST_CHAR 0x06
36
#define SAY_LAST_CHAR 0x07
38
#define SAY_PREV_CHAR 0x09
39
#define SAY_NEXT_CHAR 0x0a
41
#define SAY_PREV_WORD 0x0c
42
#define SAY_NEXT_WORD 0x0d
44
#define SAY_PREV_LINE 0x0f
45
#define SAY_NEXT_LINE 0x10
47
#define BOTTOM_EDGE 0x12
48
#define LEFT_EDGE 0x13
49
#define RIGHT_EDGE 0x14
50
#define SPELL_PHONETIC 0x15
51
#define SPELL_WORD 0x16
52
#define SAY_SCREEN 0x17
53
#define SAY_POSITION 0x18
54
#define SAY_ATTRIBUTES 0x19
55
#define SPEAKUP_OFF 0x1a
56
#define SPEAKUP_PARKED 0x1b
57
#define SAY_LINE_INDENT 0x1c
58
#define SAY_FROM_TOP 0x1d
59
#define SAY_TO_BOTTOM 0x1e
60
#define SAY_FROM_LEFT 0x1f
61
#define SAY_TO_RIGHT 0x20
62
#define SAY_CHAR_NUM 0x21
63
#define EDIT_SOME 0x22
64
#define EDIT_MOST 0x23
65
#define SAY_PHONETIC_CHAR 0x24
66
#define EDIT_DELIM 0x25
67
#define EDIT_REPEAT 0x26
68
#define EDIT_EXNUM 0x27
70
#define CLEAR_WIN 0x29
71
#define ENABLE_WIN 0x2a
74
#define SPEAKUP_HELP 0x2d
75
#define TOGGLE_CURSORING 0x2e
76
#define READ_ALL_DOC 0x2f
77
#define SPKUP_MAX_FUNC 0x30 /* one greater than the last func handler */
80
#define FIRST_EDIT_BITS 0x22
82
#define FIRST_SET_VAR SPELL_DELAY
83
#define VAR_START 0x40 /* increase if adding more than 0x3f functions */
85
/* keys for setting variables, must be ordered same as the enum for var_ids */
86
/* with dec being even and inc being 1 greater */
87
#define SPELL_DELAY_DEC (VAR_START+0)
88
#define SPELL_DELAY_INC (SPELL_DELAY_DEC+1)
89
#define PUNC_LEVEL_DEC (SPELL_DELAY_DEC+2)
90
#define PUNC_LEVEL_INC (PUNC_LEVEL_DEC+1)
91
#define READING_PUNC_DEC (PUNC_LEVEL_DEC+2)
92
#define READING_PUNC_INC (READING_PUNC_DEC+1)
93
#define ATTRIB_BLEEP_DEC (READING_PUNC_DEC+2)
94
#define ATTRIB_BLEEP_INC (ATTRIB_BLEEP_DEC+1)
95
#define BLEEPS_DEC (ATTRIB_BLEEP_DEC+2)
96
#define BLEEPS_INC (BLEEPS_DEC+1)
97
#define RATE_DEC (BLEEPS_DEC+2)
98
#define RATE_INC (RATE_DEC+1)
99
#define PITCH_DEC (RATE_DEC+2)
100
#define PITCH_INC (PITCH_DEC+1)
101
#define VOL_DEC (PITCH_DEC+2)
102
#define VOL_INC (VOL_DEC+1)
103
#define TONE_DEC (VOL_DEC+2)
104
#define TONE_INC (TONE_DEC+1)
105
#define PUNCT_DEC (TONE_DEC+2)
106
#define PUNCT_INC (PUNCT_DEC+1)
107
#define VOICE_DEC (PUNCT_DEC+2)
108
#define VOICE_INC (VOICE_DEC+1)