brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · 1f789bd Raw
101 lines · c
1/* SPDX-License-Identifier: GPL-2.0+ */2/* spk_priv.h3 * review functions for the speakup screen review package.4 * originally written by: Kirk Reiser and Andy Berdan.5 *6 * extensively modified by David Borowski.7 *8 * Copyright (C) 1998  Kirk Reiser.9 * Copyright (C) 2003  David Borowski.10 */11 12#ifndef _SPEAKUP_KEYINFO_H13#define _SPEAKUP_KEYINFO_H14 15#define FIRST_SYNTH_VAR RATE16/* 0 is reserved for no remap */17#define SPEAKUP_GOTO		0x0118#define SPEECH_KILL		0x0219#define SPEAKUP_QUIET		0x0320#define SPEAKUP_CUT		0x0421#define SPEAKUP_PASTE		0x0522#define SAY_FIRST_CHAR		0x0623#define SAY_LAST_CHAR		0x0724#define SAY_CHAR		0x0825#define SAY_PREV_CHAR		0x0926#define SAY_NEXT_CHAR		0x0a27#define SAY_WORD		0x0b28#define SAY_PREV_WORD		0x0c29#define SAY_NEXT_WORD		0x0d30#define SAY_LINE		0x0e31#define SAY_PREV_LINE		0x0f32#define SAY_NEXT_LINE		0x1033#define TOP_EDGE		0x1134#define BOTTOM_EDGE		0x1235#define LEFT_EDGE		0x1336#define RIGHT_EDGE		0x1437#define SPELL_PHONETIC		0x1538#define SPELL_WORD		0x1639#define SAY_SCREEN		0x1740#define SAY_POSITION		0x1841#define SAY_ATTRIBUTES		0x1942#define SPEAKUP_OFF		0x1a43#define SPEAKUP_PARKED		0x1b44#define SAY_LINE_INDENT	0x1c45#define SAY_FROM_TOP		0x1d46#define SAY_TO_BOTTOM		0x1e47#define SAY_FROM_LEFT		0x1f48#define SAY_TO_RIGHT		0x2049#define SAY_CHAR_NUM		0x2150#define EDIT_SOME		0x2251#define EDIT_MOST		0x2352#define SAY_PHONETIC_CHAR	0x2453#define EDIT_DELIM		0x2554#define EDIT_REPEAT		0x2655#define EDIT_EXNUM		0x2756#define SET_WIN		0x2857#define CLEAR_WIN		0x2958#define ENABLE_WIN		0x2a59#define SAY_WIN		0x2b60#define SPK_LOCK		0x2c61#define SPEAKUP_HELP		0x2d62#define TOGGLE_CURSORING	0x2e63#define READ_ALL_DOC		0x2f64 65/* one greater than the last func handler */66#define SPKUP_MAX_FUNC		0x3067 68#define SPK_KEY		0x8069#define FIRST_EDIT_BITS	0x2270#define FIRST_SET_VAR SPELL_DELAY71 72/* increase if adding more than 0x3f functions */73#define VAR_START		0x4074 75/* keys for setting variables, must be ordered same as the enum for var_ids */76/* with dec being even and inc being 1 greater */77#define SPELL_DELAY_DEC (VAR_START + 0)78#define SPELL_DELAY_INC (SPELL_DELAY_DEC + 1)79#define PUNC_LEVEL_DEC (SPELL_DELAY_DEC + 2)80#define PUNC_LEVEL_INC (PUNC_LEVEL_DEC + 1)81#define READING_PUNC_DEC (PUNC_LEVEL_DEC + 2)82#define READING_PUNC_INC (READING_PUNC_DEC + 1)83#define ATTRIB_BLEEP_DEC (READING_PUNC_DEC + 2)84#define ATTRIB_BLEEP_INC (ATTRIB_BLEEP_DEC + 1)85#define BLEEPS_DEC (ATTRIB_BLEEP_DEC + 2)86#define BLEEPS_INC (BLEEPS_DEC + 1)87#define RATE_DEC (BLEEPS_DEC + 2)88#define RATE_INC (RATE_DEC + 1)89#define PITCH_DEC (RATE_DEC + 2)90#define PITCH_INC (PITCH_DEC + 1)91#define VOL_DEC (PITCH_DEC + 2)92#define VOL_INC (VOL_DEC + 1)93#define TONE_DEC (VOL_DEC + 2)94#define TONE_INC (TONE_DEC + 1)95#define PUNCT_DEC (TONE_DEC + 2)96#define PUNCT_INC (PUNCT_DEC + 1)97#define VOICE_DEC (PUNCT_DEC + 2)98#define VOICE_INC (VOICE_DEC + 1)99 100#endif101