BrlAPI  0.7
Macros | Typedefs
Types and Defines fore BrlAPI Key Codes

Macros

#define BRLAPI_PRIxKEYCODE   PRIx64
 
#define BRLAPI_PRIuKEYCODE   PRIu64
 
#define BRLAPI_KEY_MAX   UINT64_C(0XFFFFFFFFFFFFFFFF)
 
#define BRLAPI_KEY_FLAGS_MASK   UINT64_C(0XFFFFFFFF00000000)
 
#define BRLAPI_KEY_FLAGS_SHIFT   32
 
#define BRLAPI_KEY_FLG(v)   ((brlapi_keyCode_t)(v) << BRLAPI_KEY_FLAGS_SHIFT)
 
#define BRLAPI_KEY_FLG_MOD1   BRLAPI_KEY_FLG(0x00000008)
 
#define BRLAPI_KEY_FLG_MOD2   BRLAPI_KEY_FLG(0x00000010)
 
#define BRLAPI_KEY_FLG_MOD3   BRLAPI_KEY_FLG(0x00000020)
 
#define BRLAPI_KEY_FLG_MOD4   BRLAPI_KEY_FLG(0x00000040)
 
#define BRLAPI_KEY_FLG_MOD5   BRLAPI_KEY_FLG(0x00000080)
 
#define BRLAPI_KEY_TYPE_MASK   UINT64_C(0X00000000E0000000)
 
#define BRLAPI_KEY_TYPE_SHIFT   29
 
#define BRLAPI_KEY_TYPE_CMD   UINT64_C(0X0000000020000000)
 
#define BRLAPI_KEY_TYPE_SYM   UINT64_C(0X0000000000000000)
 
#define BRLAPI_KEY_CODE_MASK   UINT64_C(0X000000001FFFFFFF)
 
#define BRLAPI_KEY_CODE_SHIFT   0
 
#define BRLAPI_KEY_CMD_BLK_MASK   UINT64_C(0X1FFF0000)
 
#define BRLAPI_KEY_CMD_BLK_SHIFT   16
 
#define BRLAPI_KEY_CMD_ARG_MASK   UINT64_C(0X0000FFFF)
 
#define BRLAPI_KEY_CMD_ARG_SHIFT   0
 
#define BRLAPI_KEY_CMD(v)   ((v) << BRLAPI_KEY_CMD_BLK_SHIFT)
 
#define BRLAPI_KEY_SYM_BACKSPACE   UINT64_C(0X0000FF08)
 
#define BRLAPI_KEY_SYM_TAB   UINT64_C(0X0000FF09)
 
#define BRLAPI_KEY_SYM_LINEFEED   UINT64_C(0X0000FF0D)
 
#define BRLAPI_KEY_SYM_ESCAPE   UINT64_C(0X0000FF1B)
 
#define BRLAPI_KEY_SYM_HOME   UINT64_C(0X0000FF50)
 
#define BRLAPI_KEY_SYM_LEFT   UINT64_C(0X0000FF51)
 
#define BRLAPI_KEY_SYM_UP   UINT64_C(0X0000FF52)
 
#define BRLAPI_KEY_SYM_RIGHT   UINT64_C(0X0000FF53)
 
#define BRLAPI_KEY_SYM_DOWN   UINT64_C(0X0000FF54)
 
#define BRLAPI_KEY_SYM_PAGE_UP   UINT64_C(0X0000FF55)
 
#define BRLAPI_KEY_SYM_PAGE_DOWN   UINT64_C(0X0000FF56)
 
#define BRLAPI_KEY_SYM_END   UINT64_C(0X0000FF57)
 
#define BRLAPI_KEY_SYM_INSERT   UINT64_C(0X0000FF63)
 
#define BRLAPI_KEY_SYM_FUNCTION   UINT64_C(0X0000FFBE)
 
#define BRLAPI_KEY_SYM_DELETE   UINT64_C(0X0000FFFF)
 
#define BRLAPI_KEY_SYM_UNICODE   UINT64_C(0X01000000)
 

Typedefs

typedef uint64_t brlapi_keyCode_t
 
#define BRLAPI_KEY_CMD_NOOP   (BRLAPI_KEY_CMD(0) + 0)
 
#define BRLAPI_KEY_CMD_LNUP   (BRLAPI_KEY_CMD(0) + 1)
 
#define BRLAPI_KEY_CMD_LNDN   (BRLAPI_KEY_CMD(0) + 2)
 
#define BRLAPI_KEY_CMD_WINUP   (BRLAPI_KEY_CMD(0) + 3)
 
#define BRLAPI_KEY_CMD_WINDN   (BRLAPI_KEY_CMD(0) + 4)
 
#define BRLAPI_KEY_CMD_PRDIFLN   (BRLAPI_KEY_CMD(0) + 5)
 
#define BRLAPI_KEY_CMD_NXDIFLN   (BRLAPI_KEY_CMD(0) + 6)
 
#define BRLAPI_KEY_CMD_ATTRUP   (BRLAPI_KEY_CMD(0) + 7)
 
#define BRLAPI_KEY_CMD_ATTRDN   (BRLAPI_KEY_CMD(0) + 8)
 
#define BRLAPI_KEY_CMD_TOP   (BRLAPI_KEY_CMD(0) + 9)
 
#define BRLAPI_KEY_CMD_BOT   (BRLAPI_KEY_CMD(0) + 10)
 
#define BRLAPI_KEY_CMD_TOP_LEFT   (BRLAPI_KEY_CMD(0) + 11)
 
#define BRLAPI_KEY_CMD_BOT_LEFT   (BRLAPI_KEY_CMD(0) + 12)
 
#define BRLAPI_KEY_CMD_PRPGRPH   (BRLAPI_KEY_CMD(0) + 13)
 
#define BRLAPI_KEY_CMD_NXPGRPH   (BRLAPI_KEY_CMD(0) + 14)
 
#define BRLAPI_KEY_CMD_PRPROMPT   (BRLAPI_KEY_CMD(0) + 15)
 
#define BRLAPI_KEY_CMD_NXPROMPT   (BRLAPI_KEY_CMD(0) + 16)
 
#define BRLAPI_KEY_CMD_PRSEARCH   (BRLAPI_KEY_CMD(0) + 17)
 
#define BRLAPI_KEY_CMD_NXSEARCH   (BRLAPI_KEY_CMD(0) + 18)
 
#define BRLAPI_KEY_CMD_CHRLT   (BRLAPI_KEY_CMD(0) + 19)
 
#define BRLAPI_KEY_CMD_CHRRT   (BRLAPI_KEY_CMD(0) + 20)
 
#define BRLAPI_KEY_CMD_HWINLT   (BRLAPI_KEY_CMD(0) + 21)
 
#define BRLAPI_KEY_CMD_HWINRT   (BRLAPI_KEY_CMD(0) + 22)
 
#define BRLAPI_KEY_CMD_FWINLT   (BRLAPI_KEY_CMD(0) + 23)
 
#define BRLAPI_KEY_CMD_FWINRT   (BRLAPI_KEY_CMD(0) + 24)
 
#define BRLAPI_KEY_CMD_FWINLTSKIP   (BRLAPI_KEY_CMD(0) + 25)
 
#define BRLAPI_KEY_CMD_FWINRTSKIP   (BRLAPI_KEY_CMD(0) + 26)
 
#define BRLAPI_KEY_CMD_LNBEG   (BRLAPI_KEY_CMD(0) + 27)
 
#define BRLAPI_KEY_CMD_LNEND   (BRLAPI_KEY_CMD(0) + 28)
 
#define BRLAPI_KEY_CMD_HOME   (BRLAPI_KEY_CMD(0) + 29)
 
#define BRLAPI_KEY_CMD_BACK   (BRLAPI_KEY_CMD(0) + 30)
 
#define BRLAPI_KEY_CMD_RETURN   (BRLAPI_KEY_CMD(0) + 31)
 
#define BRLAPI_KEY_CMD_FREEZE   (BRLAPI_KEY_CMD(0) + 32)
 
#define BRLAPI_KEY_CMD_DISPMD   (BRLAPI_KEY_CMD(0) + 33)
 
#define BRLAPI_KEY_CMD_SIXDOTS   (BRLAPI_KEY_CMD(0) + 34)
 
#define BRLAPI_KEY_CMD_SLIDEWIN   (BRLAPI_KEY_CMD(0) + 35)
 
#define BRLAPI_KEY_CMD_SKPIDLNS   (BRLAPI_KEY_CMD(0) + 36)
 
#define BRLAPI_KEY_CMD_SKPBLNKWINS   (BRLAPI_KEY_CMD(0) + 37)
 
#define BRLAPI_KEY_CMD_CSRVIS   (BRLAPI_KEY_CMD(0) + 38)
 
#define BRLAPI_KEY_CMD_CSRHIDE   (BRLAPI_KEY_CMD(0) + 39)
 
#define BRLAPI_KEY_CMD_CSRTRK   (BRLAPI_KEY_CMD(0) + 40)
 
#define BRLAPI_KEY_CMD_CSRSIZE   (BRLAPI_KEY_CMD(0) + 41)
 
#define BRLAPI_KEY_CMD_CSRBLINK   (BRLAPI_KEY_CMD(0) + 42)
 
#define BRLAPI_KEY_CMD_ATTRVIS   (BRLAPI_KEY_CMD(0) + 43)
 
#define BRLAPI_KEY_CMD_ATTRBLINK   (BRLAPI_KEY_CMD(0) + 44)
 
#define BRLAPI_KEY_CMD_CAPBLINK   (BRLAPI_KEY_CMD(0) + 45)
 
#define BRLAPI_KEY_CMD_TUNES   (BRLAPI_KEY_CMD(0) + 46)
 
#define BRLAPI_KEY_CMD_AUTOREPEAT   (BRLAPI_KEY_CMD(0) + 47)
 
#define BRLAPI_KEY_CMD_AUTOSPEAK   (BRLAPI_KEY_CMD(0) + 48)
 
#define BRLAPI_KEY_CMD_HELP   (BRLAPI_KEY_CMD(0) + 49)
 
#define BRLAPI_KEY_CMD_INFO   (BRLAPI_KEY_CMD(0) + 50)
 
#define BRLAPI_KEY_CMD_LEARN   (BRLAPI_KEY_CMD(0) + 51)
 
#define BRLAPI_KEY_CMD_PREFMENU   (BRLAPI_KEY_CMD(0) + 52)
 
#define BRLAPI_KEY_CMD_PREFSAVE   (BRLAPI_KEY_CMD(0) + 53)
 
#define BRLAPI_KEY_CMD_PREFLOAD   (BRLAPI_KEY_CMD(0) + 54)
 
#define BRLAPI_KEY_CMD_MENU_FIRST_ITEM   (BRLAPI_KEY_CMD(0) + 55)
 
#define BRLAPI_KEY_CMD_MENU_LAST_ITEM   (BRLAPI_KEY_CMD(0) + 56)
 
#define BRLAPI_KEY_CMD_MENU_PREV_ITEM   (BRLAPI_KEY_CMD(0) + 57)
 
#define BRLAPI_KEY_CMD_MENU_NEXT_ITEM   (BRLAPI_KEY_CMD(0) + 58)
 
#define BRLAPI_KEY_CMD_MENU_PREV_SETTING   (BRLAPI_KEY_CMD(0) + 59)
 
#define BRLAPI_KEY_CMD_MENU_NEXT_SETTING   (BRLAPI_KEY_CMD(0) + 60)
 
#define BRLAPI_KEY_CMD_MUTE   (BRLAPI_KEY_CMD(0) + 61)
 
#define BRLAPI_KEY_CMD_SPKHOME   (BRLAPI_KEY_CMD(0) + 62)
 
#define BRLAPI_KEY_CMD_SAY_LINE   (BRLAPI_KEY_CMD(0) + 63)
 
#define BRLAPI_KEY_CMD_SAY_ABOVE   (BRLAPI_KEY_CMD(0) + 64)
 
#define BRLAPI_KEY_CMD_SAY_BELOW   (BRLAPI_KEY_CMD(0) + 65)
 
#define BRLAPI_KEY_CMD_SAY_SLOWER   (BRLAPI_KEY_CMD(0) + 66)
 
#define BRLAPI_KEY_CMD_SAY_FASTER   (BRLAPI_KEY_CMD(0) + 67)
 
#define BRLAPI_KEY_CMD_SAY_SOFTER   (BRLAPI_KEY_CMD(0) + 68)
 
#define BRLAPI_KEY_CMD_SAY_LOUDER   (BRLAPI_KEY_CMD(0) + 69)
 
#define BRLAPI_KEY_CMD_SWITCHVT_PREV   (BRLAPI_KEY_CMD(0) + 70)
 
#define BRLAPI_KEY_CMD_SWITCHVT_NEXT   (BRLAPI_KEY_CMD(0) + 71)
 
#define BRLAPI_KEY_CMD_CSRJMP_VERT   (BRLAPI_KEY_CMD(0) + 72)
 
#define BRLAPI_KEY_CMD_PASTE   (BRLAPI_KEY_CMD(0) + 73)
 
#define BRLAPI_KEY_CMD_RESTARTBRL   (BRLAPI_KEY_CMD(0) + 74)
 
#define BRLAPI_KEY_CMD_RESTARTSPEECH   (BRLAPI_KEY_CMD(0) + 75)
 
#define BRLAPI_KEY_CMD_OFFLINE   (BRLAPI_KEY_CMD(0) + 76)
 
#define BRLAPI_KEY_CMD_SHIFT   (BRLAPI_KEY_CMD(0) + 77)
 
#define BRLAPI_KEY_CMD_UPPER   (BRLAPI_KEY_CMD(0) + 78)
 
#define BRLAPI_KEY_CMD_CONTROL   (BRLAPI_KEY_CMD(0) + 79)
 
#define BRLAPI_KEY_CMD_META   (BRLAPI_KEY_CMD(0) + 80)
 
#define BRLAPI_KEY_CMD_TIME   (BRLAPI_KEY_CMD(0) + 81)
 
#define BRLAPI_KEY_CMD_MENU_PREV_LEVEL   (BRLAPI_KEY_CMD(0) + 82)
 
#define BRLAPI_KEY_CMD_ASPK_SEL_LINE   (BRLAPI_KEY_CMD(0) + 83)
 
#define BRLAPI_KEY_CMD_ASPK_SEL_CHAR   (BRLAPI_KEY_CMD(0) + 84)
 
#define BRLAPI_KEY_CMD_ASPK_INS_CHARS   (BRLAPI_KEY_CMD(0) + 85)
 
#define BRLAPI_KEY_CMD_ASPK_DEL_CHARS   (BRLAPI_KEY_CMD(0) + 86)
 
#define BRLAPI_KEY_CMD_ASPK_REP_CHARS   (BRLAPI_KEY_CMD(0) + 87)
 
#define BRLAPI_KEY_CMD_ASPK_CMP_WORDS   (BRLAPI_KEY_CMD(0) + 88)
 
#define BRLAPI_KEY_CMD_SPEAK_CURR_CHAR   (BRLAPI_KEY_CMD(0) + 89)
 
#define BRLAPI_KEY_CMD_SPEAK_PREV_CHAR   (BRLAPI_KEY_CMD(0) + 90)
 
#define BRLAPI_KEY_CMD_SPEAK_NEXT_CHAR   (BRLAPI_KEY_CMD(0) + 91)
 
#define BRLAPI_KEY_CMD_SPEAK_CURR_WORD   (BRLAPI_KEY_CMD(0) + 92)
 
#define BRLAPI_KEY_CMD_SPEAK_PREV_WORD   (BRLAPI_KEY_CMD(0) + 93)
 
#define BRLAPI_KEY_CMD_SPEAK_NEXT_WORD   (BRLAPI_KEY_CMD(0) + 94)
 
#define BRLAPI_KEY_CMD_SPEAK_CURR_LINE   (BRLAPI_KEY_CMD(0) + 95)
 
#define BRLAPI_KEY_CMD_SPEAK_PREV_LINE   (BRLAPI_KEY_CMD(0) + 96)
 
#define BRLAPI_KEY_CMD_SPEAK_NEXT_LINE   (BRLAPI_KEY_CMD(0) + 97)
 
#define BRLAPI_KEY_CMD_SPEAK_FRST_CHAR   (BRLAPI_KEY_CMD(0) + 98)
 
#define BRLAPI_KEY_CMD_SPEAK_LAST_CHAR   (BRLAPI_KEY_CMD(0) + 99)
 
#define BRLAPI_KEY_CMD_SPEAK_FRST_LINE   (BRLAPI_KEY_CMD(0) + 100)
 
#define BRLAPI_KEY_CMD_SPEAK_LAST_LINE   (BRLAPI_KEY_CMD(0) + 101)
 
#define BRLAPI_KEY_CMD_DESC_CURR_CHAR   (BRLAPI_KEY_CMD(0) + 102)
 
#define BRLAPI_KEY_CMD_SPELL_CURR_WORD   (BRLAPI_KEY_CMD(0) + 103)
 
#define BRLAPI_KEY_CMD_ROUTE_CURR_LOCN   (BRLAPI_KEY_CMD(0) + 104)
 
#define BRLAPI_KEY_CMD_SPEAK_CURR_LOCN   (BRLAPI_KEY_CMD(0) + 105)
 
#define BRLAPI_KEY_CMD_SHOW_CURR_LOCN   (BRLAPI_KEY_CMD(0) + 106)
 
#define BRLAPI_KEY_CMD_CLIP_SAVE   (BRLAPI_KEY_CMD(0) + 107)
 
#define BRLAPI_KEY_CMD_CLIP_RESTORE   (BRLAPI_KEY_CMD(0) + 108)
 
#define BRLAPI_KEY_CMD_BRLUCDOTS   (BRLAPI_KEY_CMD(0) + 109)
 
#define BRLAPI_KEY_CMD_BRLKBD   (BRLAPI_KEY_CMD(0) + 110)
 
#define BRLAPI_KEY_CMD_UNSTICK   (BRLAPI_KEY_CMD(0) + 111)
 
#define BRLAPI_KEY_CMD_ALTGR   (BRLAPI_KEY_CMD(0) + 112)
 
#define BRLAPI_KEY_CMD_GUI   (BRLAPI_KEY_CMD(0) + 113)
 
#define BRLAPI_KEY_CMD_BRL_STOP   (BRLAPI_KEY_CMD(0) + 114)
 
#define BRLAPI_KEY_CMD_BRL_START   (BRLAPI_KEY_CMD(0) + 115)
 
#define BRLAPI_KEY_CMD_SPK_STOP   (BRLAPI_KEY_CMD(0) + 116)
 
#define BRLAPI_KEY_CMD_SPK_START   (BRLAPI_KEY_CMD(0) + 117)
 
#define BRLAPI_KEY_CMD_SCR_STOP   (BRLAPI_KEY_CMD(0) + 118)
 
#define BRLAPI_KEY_CMD_SCR_START   (BRLAPI_KEY_CMD(0) + 119)
 
#define BRLAPI_KEY_CMD_SELECTVT_PREV   (BRLAPI_KEY_CMD(0) + 120)
 
#define BRLAPI_KEY_CMD_SELECTVT_NEXT   (BRLAPI_KEY_CMD(0) + 121)
 
#define BRLAPI_KEY_CMD_PRNBWIN   (BRLAPI_KEY_CMD(0) + 122)
 
#define BRLAPI_KEY_CMD_NXNBWIN   (BRLAPI_KEY_CMD(0) + 123)
 
#define BRLAPI_KEY_CMD_TOUCH_NAV   (BRLAPI_KEY_CMD(0) + 124)
 
#define BRLAPI_KEY_CMD_SPEAK_INDENT   (BRLAPI_KEY_CMD(0) + 125)
 
#define BRLAPI_KEY_CMD_ASPK_INDENT   (BRLAPI_KEY_CMD(0) + 126)
 
#define BRLAPI_KEY_CMD_ROUTE   BRLAPI_KEY_CMD(1)
 
#define BRLAPI_KEY_CMD_CLIP_NEW   BRLAPI_KEY_CMD(2)
 
#define BRLAPI_KEY_CMD_CUTBEGIN   BRLAPI_KEY_CMD(2)
 
#define BRLAPI_KEY_CMD_CLIP_ADD   BRLAPI_KEY_CMD(3)
 
#define BRLAPI_KEY_CMD_CUTAPPEND   BRLAPI_KEY_CMD(3)
 
#define BRLAPI_KEY_CMD_COPY_RECT   BRLAPI_KEY_CMD(4)
 
#define BRLAPI_KEY_CMD_CUTRECT   BRLAPI_KEY_CMD(4)
 
#define BRLAPI_KEY_CMD_COPY_LINE   BRLAPI_KEY_CMD(5)
 
#define BRLAPI_KEY_CMD_CUTLINE   BRLAPI_KEY_CMD(5)
 
#define BRLAPI_KEY_CMD_SWITCHVT   BRLAPI_KEY_CMD(6)
 
#define BRLAPI_KEY_CMD_PRINDENT   BRLAPI_KEY_CMD(7)
 
#define BRLAPI_KEY_CMD_NXINDENT   BRLAPI_KEY_CMD(8)
 
#define BRLAPI_KEY_CMD_DESCCHAR   BRLAPI_KEY_CMD(9)
 
#define BRLAPI_KEY_CMD_SETLEFT   BRLAPI_KEY_CMD(10)
 
#define BRLAPI_KEY_CMD_SETMARK   BRLAPI_KEY_CMD(11)
 
#define BRLAPI_KEY_CMD_GOTOMARK   BRLAPI_KEY_CMD(12)
 
#define BRLAPI_KEY_CMD_GOTOLINE   BRLAPI_KEY_CMD(13)
 
#define BRLAPI_KEY_CMD_PRDIFCHAR   BRLAPI_KEY_CMD(14)
 
#define BRLAPI_KEY_CMD_NXDIFCHAR   BRLAPI_KEY_CMD(15)
 
#define BRLAPI_KEY_CMD_CLIP_COPY   BRLAPI_KEY_CMD(16)
 
#define BRLAPI_KEY_CMD_COPYCHARS   BRLAPI_KEY_CMD(16)
 
#define BRLAPI_KEY_CMD_CLIP_APPEND   BRLAPI_KEY_CMD(17)
 
#define BRLAPI_KEY_CMD_APNDCHARS   BRLAPI_KEY_CMD(17)
 
#define BRLAPI_KEY_CMD_PASTE_HISTORY   BRLAPI_KEY_CMD(18)
 
#define BRLAPI_KEY_CMD_SET_TEXT_TABLE   BRLAPI_KEY_CMD(19)
 
#define BRLAPI_KEY_CMD_SET_ATTRIBUTES_TABLE   BRLAPI_KEY_CMD(20)
 
#define BRLAPI_KEY_CMD_SET_CONTRACTION_TABLE   BRLAPI_KEY_CMD(21)
 
#define BRLAPI_KEY_CMD_SET_KEYBOARD_TABLE   BRLAPI_KEY_CMD(22)
 
#define BRLAPI_KEY_CMD_SET_LANGUAGE_PROFILE   BRLAPI_KEY_CMD(23)
 
#define BRLAPI_KEY_CMD_SELECTVT   BRLAPI_KEY_CMD(30)
 
#define BRLAPI_KEY_CMD_ALERT   BRLAPI_KEY_CMD(31)
 
#define BRLAPI_KEY_CMD_PASSDOTS   BRLAPI_KEY_CMD(34)
 
#define BRLAPI_KEY_CMD_PASSAT   BRLAPI_KEY_CMD(35)
 
#define BRLAPI_KEY_CMD_PASSXT   BRLAPI_KEY_CMD(36)
 
#define BRLAPI_KEY_CMD_PASSPS2   BRLAPI_KEY_CMD(37)
 
#define BRLAPI_KEY_CMD_CONTEXT   BRLAPI_KEY_CMD(38)
 
#define BRLAPI_KEY_CMD_TOUCH_AT   BRLAPI_KEY_CMD(39)
 
#define BRLAPI_KEY_FLG_TOGGLE_ON   BRLAPI_KEY_FLG(0X0100)
 
#define BRLAPI_KEY_FLG_TOGGLE_OFF   BRLAPI_KEY_FLG(0X0200)
 
#define BRLAPI_KEY_FLG_TOGGLE_MASK   (BRLAPI_KEY_FLG_TOGGLE_ON | BRLAPI_KEY_FLG_TOGGLE_OFF)
 
#define BRLAPI_KEY_FLG_MOTION_ROUTE   BRLAPI_KEY_FLG(0X0400)
 
#define BRLAPI_KEY_FLG_MOTION_SCALED   BRLAPI_KEY_FLG(0X0800)
 
#define BRLAPI_KEY_FLG_MOTION_TOLEFT   BRLAPI_KEY_FLG(0X1000)
 
#define BRLAPI_KEY_FLG_SHIFT   BRLAPI_KEY_FLG(0X01)
 
#define BRLAPI_KEY_FLG_UPPER   BRLAPI_KEY_FLG(0X02)
 
#define BRLAPI_KEY_FLG_CONTROL   BRLAPI_KEY_FLG(0X04)
 
#define BRLAPI_KEY_FLG_META   BRLAPI_KEY_FLG(0X08)
 
#define BRLAPI_KEY_FLG_ALTGR   BRLAPI_KEY_FLG(0X10)
 
#define BRLAPI_KEY_FLG_GUI   BRLAPI_KEY_FLG(0X20)
 
#define BRLAPI_KEY_FLG_KBD_RELEASE   BRLAPI_KEY_FLG(0X0100)
 
#define BRLAPI_KEY_FLG_KBD_EMUL0   BRLAPI_KEY_FLG(0X0200)
 
#define BRLAPI_KEY_FLG_KBD_EMUL1   BRLAPI_KEY_FLG(0X0400)
 
#define BRLAPI_DOT1   1
 
#define BRLAPI_DOT2   2
 
#define BRLAPI_DOT3   4
 
#define BRLAPI_DOT4   8
 
#define BRLAPI_DOT5   16
 
#define BRLAPI_DOT6   32
 
#define BRLAPI_DOT7   64
 
#define BRLAPI_DOT8   128
 
#define BRLAPI_DOTC   256
 
#define BRLAPI_DOTS(dot1, dot2, dot3, dot4, dot5, dot6, dot7, dot8)
 
#define BRLAPI_DOT_CHORD   256
 

Detailed Description

Key codes are unsigned 64 bit integers. This 64-bit space is split into 3 parts:

The third part is itself split into two parts: a command number and a command value. The relative sizes of these parts vary according to the key type.

For a braille command, bits 28-16 (BRLAPI_KEY_CMD_BLK_MASK) hold the braille command number, while bits 15-0 (BRLAPI_KEY_CMD_ARG_MASK) hold the command value.

For a X keysym, if it is a unicode keysym (0x1uvwxyz), then the command number part is 0x1000000 and the value part is 0xuvwxyz. Else, the command part is held by bits 28-8 and the value part is held by bits 7-0. This permits to easily handle usual cases like 0x00xy (latin1), 0x01xy (latin2), XK_Backspace (0xff08, backspace), XK_Tab (0xff09, tab), ...

For instance, if key == 0x0000000020010008,

if key == 0x000000010000FF09,

in the X11 standard some keysyms are directly unicode, for instance if key == 0x0000000001001EA0,

The brlapi_expandKeyCode() function may be used for splitting key codes into these parts.

Macro Definition Documentation

◆ BRLAPI_DOT1

#define BRLAPI_DOT1   1

upper-left dot of standard braille cell

◆ BRLAPI_DOT2

#define BRLAPI_DOT2   2

middle-left dot of standard braille cell

◆ BRLAPI_DOT3

#define BRLAPI_DOT3   4

lower-left dot of standard braille cell

◆ BRLAPI_DOT4

#define BRLAPI_DOT4   8

upper-right dot of standard braille cell

◆ BRLAPI_DOT5

#define BRLAPI_DOT5   16

middle-right dot of standard braille cell

◆ BRLAPI_DOT6

#define BRLAPI_DOT6   32

lower-right dot of standard braille cell

◆ BRLAPI_DOT7

#define BRLAPI_DOT7   64

lower-left dot of computer braille cell

◆ BRLAPI_DOT8

#define BRLAPI_DOT8   128

lower-right dot of computer braille cell

◆ BRLAPI_DOT_CHORD

#define BRLAPI_DOT_CHORD   256

space key

◆ BRLAPI_DOTC

#define BRLAPI_DOTC   256

chord (space bar on braille keyboard)

◆ BRLAPI_DOTS

#define BRLAPI_DOTS (   dot1,
  dot2,
  dot3,
  dot4,
  dot5,
  dot6,
  dot7,
  dot8 
)
Value:
(\
((dot1)? BRLAPI_DOT1: 0) | \
((dot2)? BRLAPI_DOT2: 0) | \
((dot3)? BRLAPI_DOT3: 0) | \
((dot4)? BRLAPI_DOT4: 0) | \
((dot5)? BRLAPI_DOT5: 0) | \
((dot6)? BRLAPI_DOT6: 0) | \
((dot7)? BRLAPI_DOT7: 0) | \
((dot8)? BRLAPI_DOT8: 0) \
)
#define BRLAPI_DOT1
Definition: brlapi_constants.h:392
#define BRLAPI_DOT5
Definition: brlapi_constants.h:400
#define BRLAPI_DOT4
Definition: brlapi_constants.h:398
#define BRLAPI_DOT3
Definition: brlapi_constants.h:396
#define BRLAPI_DOT8
Definition: brlapi_constants.h:406
#define BRLAPI_DOT6
Definition: brlapi_constants.h:402
#define BRLAPI_DOT7
Definition: brlapi_constants.h:404
#define BRLAPI_DOT2
Definition: brlapi_constants.h:394

Helper macro to easily produce braille patterns

◆ BRLAPI_KEY_CMD

#define BRLAPI_KEY_CMD (   v)    ((v) << BRLAPI_KEY_CMD_BLK_SHIFT)

◆ BRLAPI_KEY_CMD_ALERT

#define BRLAPI_KEY_CMD_ALERT   BRLAPI_KEY_CMD(31)

render an alert

◆ BRLAPI_KEY_CMD_ALTGR

#define BRLAPI_KEY_CMD_ALTGR   (BRLAPI_KEY_CMD(0) + 112)

cycle the AltGr (Right Alt) sticky input modifier (next, on, off)

◆ BRLAPI_KEY_CMD_APNDCHARS

#define BRLAPI_KEY_CMD_APNDCHARS   BRLAPI_KEY_CMD(17)

deprecated definition of CLIP_APPEND - append characters to clipboard

◆ BRLAPI_KEY_CMD_ARG_MASK

#define BRLAPI_KEY_CMD_ARG_MASK   UINT64_C(0X0000FFFF)

Mask for braille command value

◆ BRLAPI_KEY_CMD_ARG_SHIFT

#define BRLAPI_KEY_CMD_ARG_SHIFT   0

Shift for braille command value

◆ BRLAPI_KEY_CMD_ASPK_CMP_WORDS

#define BRLAPI_KEY_CMD_ASPK_CMP_WORDS   (BRLAPI_KEY_CMD(0) + 88)

set autospeak completed words on/off

◆ BRLAPI_KEY_CMD_ASPK_DEL_CHARS

#define BRLAPI_KEY_CMD_ASPK_DEL_CHARS   (BRLAPI_KEY_CMD(0) + 86)

set autospeak deleted characters on/off

◆ BRLAPI_KEY_CMD_ASPK_INDENT

#define BRLAPI_KEY_CMD_ASPK_INDENT   (BRLAPI_KEY_CMD(0) + 126)

set autospeak indent of current line on/off

◆ BRLAPI_KEY_CMD_ASPK_INS_CHARS

#define BRLAPI_KEY_CMD_ASPK_INS_CHARS   (BRLAPI_KEY_CMD(0) + 85)

set autospeak inserted characters on/off

◆ BRLAPI_KEY_CMD_ASPK_REP_CHARS

#define BRLAPI_KEY_CMD_ASPK_REP_CHARS   (BRLAPI_KEY_CMD(0) + 87)

set autospeak replaced characters on/off

◆ BRLAPI_KEY_CMD_ASPK_SEL_CHAR

#define BRLAPI_KEY_CMD_ASPK_SEL_CHAR   (BRLAPI_KEY_CMD(0) + 84)

set autospeak selected character on/off

◆ BRLAPI_KEY_CMD_ASPK_SEL_LINE

#define BRLAPI_KEY_CMD_ASPK_SEL_LINE   (BRLAPI_KEY_CMD(0) + 83)

set autospeak selected line on/off

◆ BRLAPI_KEY_CMD_ATTRBLINK

#define BRLAPI_KEY_CMD_ATTRBLINK   (BRLAPI_KEY_CMD(0) + 44)

set attribute blinking on/off

◆ BRLAPI_KEY_CMD_ATTRDN

#define BRLAPI_KEY_CMD_ATTRDN   (BRLAPI_KEY_CMD(0) + 8)

go down to nearest line with different highlighting

◆ BRLAPI_KEY_CMD_ATTRUP

#define BRLAPI_KEY_CMD_ATTRUP   (BRLAPI_KEY_CMD(0) + 7)

go up to nearest line with different highlighting

◆ BRLAPI_KEY_CMD_ATTRVIS

#define BRLAPI_KEY_CMD_ATTRVIS   (BRLAPI_KEY_CMD(0) + 43)

set attribute underlining on/off

◆ BRLAPI_KEY_CMD_AUTOREPEAT

#define BRLAPI_KEY_CMD_AUTOREPEAT   (BRLAPI_KEY_CMD(0) + 47)

set autorepeat on/off

◆ BRLAPI_KEY_CMD_AUTOSPEAK

#define BRLAPI_KEY_CMD_AUTOSPEAK   (BRLAPI_KEY_CMD(0) + 48)

set autospeak on/off

◆ BRLAPI_KEY_CMD_BACK

#define BRLAPI_KEY_CMD_BACK   (BRLAPI_KEY_CMD(0) + 30)

go back after cursor tracking

◆ BRLAPI_KEY_CMD_BLK_MASK

#define BRLAPI_KEY_CMD_BLK_MASK   UINT64_C(0X1FFF0000)

Mask for braille command type

◆ BRLAPI_KEY_CMD_BLK_SHIFT

#define BRLAPI_KEY_CMD_BLK_SHIFT   16

Shift for braille command type

◆ BRLAPI_KEY_CMD_BOT

#define BRLAPI_KEY_CMD_BOT   (BRLAPI_KEY_CMD(0) + 10)

go to bottom line

◆ BRLAPI_KEY_CMD_BOT_LEFT

#define BRLAPI_KEY_CMD_BOT_LEFT   (BRLAPI_KEY_CMD(0) + 12)

go to beginning of bottom line

◆ BRLAPI_KEY_CMD_BRL_START

#define BRLAPI_KEY_CMD_BRL_START   (BRLAPI_KEY_CMD(0) + 115)

start the braille driver

◆ BRLAPI_KEY_CMD_BRL_STOP

#define BRLAPI_KEY_CMD_BRL_STOP   (BRLAPI_KEY_CMD(0) + 114)

stop the braille driver

◆ BRLAPI_KEY_CMD_BRLKBD

#define BRLAPI_KEY_CMD_BRLKBD   (BRLAPI_KEY_CMD(0) + 110)

set braille keyboard enabled/disabled

◆ BRLAPI_KEY_CMD_BRLUCDOTS

#define BRLAPI_KEY_CMD_BRLUCDOTS   (BRLAPI_KEY_CMD(0) + 109)

set braille input mode dots/text

◆ BRLAPI_KEY_CMD_CAPBLINK

#define BRLAPI_KEY_CMD_CAPBLINK   (BRLAPI_KEY_CMD(0) + 45)

set capital letter blinking on/off

◆ BRLAPI_KEY_CMD_CHRLT

#define BRLAPI_KEY_CMD_CHRLT   (BRLAPI_KEY_CMD(0) + 19)

go left one character

◆ BRLAPI_KEY_CMD_CHRRT

#define BRLAPI_KEY_CMD_CHRRT   (BRLAPI_KEY_CMD(0) + 20)

go right one character

◆ BRLAPI_KEY_CMD_CLIP_ADD

#define BRLAPI_KEY_CMD_CLIP_ADD   BRLAPI_KEY_CMD(3)

append to clipboard from character

◆ BRLAPI_KEY_CMD_CLIP_APPEND

#define BRLAPI_KEY_CMD_CLIP_APPEND   BRLAPI_KEY_CMD(17)

append characters to clipboard

◆ BRLAPI_KEY_CMD_CLIP_COPY

#define BRLAPI_KEY_CMD_CLIP_COPY   BRLAPI_KEY_CMD(16)

copy characters to clipboard

◆ BRLAPI_KEY_CMD_CLIP_NEW

#define BRLAPI_KEY_CMD_CLIP_NEW   BRLAPI_KEY_CMD(2)

start new clipboard at character

◆ BRLAPI_KEY_CMD_CLIP_RESTORE

#define BRLAPI_KEY_CMD_CLIP_RESTORE   (BRLAPI_KEY_CMD(0) + 108)

restore clipboard from disk

◆ BRLAPI_KEY_CMD_CLIP_SAVE

#define BRLAPI_KEY_CMD_CLIP_SAVE   (BRLAPI_KEY_CMD(0) + 107)

save clipboard to disk

◆ BRLAPI_KEY_CMD_CONTEXT

#define BRLAPI_KEY_CMD_CONTEXT   BRLAPI_KEY_CMD(38)

switch to command context

◆ BRLAPI_KEY_CMD_CONTROL

#define BRLAPI_KEY_CMD_CONTROL   (BRLAPI_KEY_CMD(0) + 79)

cycle the Control sticky input modifier (next, on, off)

◆ BRLAPI_KEY_CMD_COPY_LINE

#define BRLAPI_KEY_CMD_COPY_LINE   BRLAPI_KEY_CMD(5)

linear copy to character

◆ BRLAPI_KEY_CMD_COPY_RECT

#define BRLAPI_KEY_CMD_COPY_RECT   BRLAPI_KEY_CMD(4)

rectangular copy to character

◆ BRLAPI_KEY_CMD_COPYCHARS

#define BRLAPI_KEY_CMD_COPYCHARS   BRLAPI_KEY_CMD(16)

deprecated definition of CLIP_COPY - copy characters to clipboard

◆ BRLAPI_KEY_CMD_CSRBLINK

#define BRLAPI_KEY_CMD_CSRBLINK   (BRLAPI_KEY_CMD(0) + 42)

set screen cursor blinking on/off

◆ BRLAPI_KEY_CMD_CSRHIDE

#define BRLAPI_KEY_CMD_CSRHIDE   (BRLAPI_KEY_CMD(0) + 39)

set hidden screen cursor on/off

◆ BRLAPI_KEY_CMD_CSRJMP_VERT

#define BRLAPI_KEY_CMD_CSRJMP_VERT   (BRLAPI_KEY_CMD(0) + 72)

bring screen cursor to current line

◆ BRLAPI_KEY_CMD_CSRSIZE

#define BRLAPI_KEY_CMD_CSRSIZE   (BRLAPI_KEY_CMD(0) + 41)

set screen cursor style block/underline

◆ BRLAPI_KEY_CMD_CSRTRK

#define BRLAPI_KEY_CMD_CSRTRK   (BRLAPI_KEY_CMD(0) + 40)

set track screen cursor on/off

◆ BRLAPI_KEY_CMD_CSRVIS

#define BRLAPI_KEY_CMD_CSRVIS   (BRLAPI_KEY_CMD(0) + 38)

set screen cursor visibility on/off

◆ BRLAPI_KEY_CMD_CUTAPPEND

#define BRLAPI_KEY_CMD_CUTAPPEND   BRLAPI_KEY_CMD(3)

deprecated definition of CLIP_ADD - append to clipboard from character

◆ BRLAPI_KEY_CMD_CUTBEGIN

#define BRLAPI_KEY_CMD_CUTBEGIN   BRLAPI_KEY_CMD(2)

deprecated definition of CLIP_NEW - start new clipboard at character

◆ BRLAPI_KEY_CMD_CUTLINE

#define BRLAPI_KEY_CMD_CUTLINE   BRLAPI_KEY_CMD(5)

deprecated definition of COPY_LINE - linear copy to character

◆ BRLAPI_KEY_CMD_CUTRECT

#define BRLAPI_KEY_CMD_CUTRECT   BRLAPI_KEY_CMD(4)

deprecated definition of COPY_RECT - rectangular copy to character

◆ BRLAPI_KEY_CMD_DESC_CURR_CHAR

#define BRLAPI_KEY_CMD_DESC_CURR_CHAR   (BRLAPI_KEY_CMD(0) + 102)

describe current character

◆ BRLAPI_KEY_CMD_DESCCHAR

#define BRLAPI_KEY_CMD_DESCCHAR   BRLAPI_KEY_CMD(9)

describe character

◆ BRLAPI_KEY_CMD_DISPMD

#define BRLAPI_KEY_CMD_DISPMD   (BRLAPI_KEY_CMD(0) + 33)

set display mode attributes/text

◆ BRLAPI_KEY_CMD_FREEZE

#define BRLAPI_KEY_CMD_FREEZE   (BRLAPI_KEY_CMD(0) + 32)

set screen image frozen/unfrozen

◆ BRLAPI_KEY_CMD_FWINLT

#define BRLAPI_KEY_CMD_FWINLT   (BRLAPI_KEY_CMD(0) + 23)

go backward one braille window

◆ BRLAPI_KEY_CMD_FWINLTSKIP

#define BRLAPI_KEY_CMD_FWINLTSKIP   (BRLAPI_KEY_CMD(0) + 25)

go backward skipping blank braille windows

◆ BRLAPI_KEY_CMD_FWINRT

#define BRLAPI_KEY_CMD_FWINRT   (BRLAPI_KEY_CMD(0) + 24)

go forward one braille window

◆ BRLAPI_KEY_CMD_FWINRTSKIP

#define BRLAPI_KEY_CMD_FWINRTSKIP   (BRLAPI_KEY_CMD(0) + 26)

go forward skipping blank braille windows

◆ BRLAPI_KEY_CMD_GOTOLINE

#define BRLAPI_KEY_CMD_GOTOLINE   BRLAPI_KEY_CMD(13)

go to selected line

◆ BRLAPI_KEY_CMD_GOTOMARK

#define BRLAPI_KEY_CMD_GOTOMARK   BRLAPI_KEY_CMD(12)

go to remembered braille window position

◆ BRLAPI_KEY_CMD_GUI

#define BRLAPI_KEY_CMD_GUI   (BRLAPI_KEY_CMD(0) + 113)

cycle the GUI (Windows) sticky input modifier (next, on, off)

◆ BRLAPI_KEY_CMD_HELP

#define BRLAPI_KEY_CMD_HELP   (BRLAPI_KEY_CMD(0) + 49)

enter/leave help display

◆ BRLAPI_KEY_CMD_HOME

#define BRLAPI_KEY_CMD_HOME   (BRLAPI_KEY_CMD(0) + 29)

go to screen cursor

◆ BRLAPI_KEY_CMD_HWINLT

#define BRLAPI_KEY_CMD_HWINLT   (BRLAPI_KEY_CMD(0) + 21)

go left half a braille window

◆ BRLAPI_KEY_CMD_HWINRT

#define BRLAPI_KEY_CMD_HWINRT   (BRLAPI_KEY_CMD(0) + 22)

go right half a braille window

◆ BRLAPI_KEY_CMD_INFO

#define BRLAPI_KEY_CMD_INFO   (BRLAPI_KEY_CMD(0) + 50)

enter/leave status display

◆ BRLAPI_KEY_CMD_LEARN

#define BRLAPI_KEY_CMD_LEARN   (BRLAPI_KEY_CMD(0) + 51)

enter/leave command learn mode

◆ BRLAPI_KEY_CMD_LNBEG

#define BRLAPI_KEY_CMD_LNBEG   (BRLAPI_KEY_CMD(0) + 27)

go to beginning of line

◆ BRLAPI_KEY_CMD_LNDN

#define BRLAPI_KEY_CMD_LNDN   (BRLAPI_KEY_CMD(0) + 2)

go down one line

◆ BRLAPI_KEY_CMD_LNEND

#define BRLAPI_KEY_CMD_LNEND   (BRLAPI_KEY_CMD(0) + 28)

go to end of line

◆ BRLAPI_KEY_CMD_LNUP

#define BRLAPI_KEY_CMD_LNUP   (BRLAPI_KEY_CMD(0) + 1)

go up one line

◆ BRLAPI_KEY_CMD_MENU_FIRST_ITEM

#define BRLAPI_KEY_CMD_MENU_FIRST_ITEM   (BRLAPI_KEY_CMD(0) + 55)

go up to first item

◆ BRLAPI_KEY_CMD_MENU_LAST_ITEM

#define BRLAPI_KEY_CMD_MENU_LAST_ITEM   (BRLAPI_KEY_CMD(0) + 56)

go down to last item

◆ BRLAPI_KEY_CMD_MENU_NEXT_ITEM

#define BRLAPI_KEY_CMD_MENU_NEXT_ITEM   (BRLAPI_KEY_CMD(0) + 58)

go down to next item

◆ BRLAPI_KEY_CMD_MENU_NEXT_SETTING

#define BRLAPI_KEY_CMD_MENU_NEXT_SETTING   (BRLAPI_KEY_CMD(0) + 60)

select next choice

◆ BRLAPI_KEY_CMD_MENU_PREV_ITEM

#define BRLAPI_KEY_CMD_MENU_PREV_ITEM   (BRLAPI_KEY_CMD(0) + 57)

go up to previous item

◆ BRLAPI_KEY_CMD_MENU_PREV_LEVEL

#define BRLAPI_KEY_CMD_MENU_PREV_LEVEL   (BRLAPI_KEY_CMD(0) + 82)

go to previous menu level

◆ BRLAPI_KEY_CMD_MENU_PREV_SETTING

#define BRLAPI_KEY_CMD_MENU_PREV_SETTING   (BRLAPI_KEY_CMD(0) + 59)

select previous choice

◆ BRLAPI_KEY_CMD_META

#define BRLAPI_KEY_CMD_META   (BRLAPI_KEY_CMD(0) + 80)

cycle the Meta (Left Alt) sticky input modifier (next, on, off)

◆ BRLAPI_KEY_CMD_MUTE

#define BRLAPI_KEY_CMD_MUTE   (BRLAPI_KEY_CMD(0) + 61)

stop speaking

◆ BRLAPI_KEY_CMD_NOOP

#define BRLAPI_KEY_CMD_NOOP   (BRLAPI_KEY_CMD(0) + 0)

do nothing

◆ BRLAPI_KEY_CMD_NXDIFCHAR

#define BRLAPI_KEY_CMD_NXDIFCHAR   BRLAPI_KEY_CMD(15)

go down to nearest line with different character

◆ BRLAPI_KEY_CMD_NXDIFLN

#define BRLAPI_KEY_CMD_NXDIFLN   (BRLAPI_KEY_CMD(0) + 6)

go down to nearest line with different content

◆ BRLAPI_KEY_CMD_NXINDENT

#define BRLAPI_KEY_CMD_NXINDENT   BRLAPI_KEY_CMD(8)

go down to nearest line with less indent than character

◆ BRLAPI_KEY_CMD_NXNBWIN

#define BRLAPI_KEY_CMD_NXNBWIN   (BRLAPI_KEY_CMD(0) + 123)

go forward to nearest non-blank braille window

◆ BRLAPI_KEY_CMD_NXPGRPH

#define BRLAPI_KEY_CMD_NXPGRPH   (BRLAPI_KEY_CMD(0) + 14)

go down to first line of next paragraph

◆ BRLAPI_KEY_CMD_NXPROMPT

#define BRLAPI_KEY_CMD_NXPROMPT   (BRLAPI_KEY_CMD(0) + 16)

go down to next command prompt

◆ BRLAPI_KEY_CMD_NXSEARCH

#define BRLAPI_KEY_CMD_NXSEARCH   (BRLAPI_KEY_CMD(0) + 18)

search forward for clipboard text

◆ BRLAPI_KEY_CMD_OFFLINE

#define BRLAPI_KEY_CMD_OFFLINE   (BRLAPI_KEY_CMD(0) + 76)

braille display temporarily unavailable

◆ BRLAPI_KEY_CMD_PASSAT

#define BRLAPI_KEY_CMD_PASSAT   BRLAPI_KEY_CMD(35)

AT (set 2) keyboard scan code

◆ BRLAPI_KEY_CMD_PASSDOTS

#define BRLAPI_KEY_CMD_PASSDOTS   BRLAPI_KEY_CMD(34)

type braille dots

◆ BRLAPI_KEY_CMD_PASSPS2

#define BRLAPI_KEY_CMD_PASSPS2   BRLAPI_KEY_CMD(37)

PS/2 (set 3) keyboard scan code

◆ BRLAPI_KEY_CMD_PASSXT

#define BRLAPI_KEY_CMD_PASSXT   BRLAPI_KEY_CMD(36)

XT (set 1) keyboard scan code

◆ BRLAPI_KEY_CMD_PASTE

#define BRLAPI_KEY_CMD_PASTE   (BRLAPI_KEY_CMD(0) + 73)

insert clipboard text after screen cursor

◆ BRLAPI_KEY_CMD_PASTE_HISTORY

#define BRLAPI_KEY_CMD_PASTE_HISTORY   BRLAPI_KEY_CMD(18)

insert clipboard history entry after screen cursor

◆ BRLAPI_KEY_CMD_PRDIFCHAR

#define BRLAPI_KEY_CMD_PRDIFCHAR   BRLAPI_KEY_CMD(14)

go up to nearest line with different character

◆ BRLAPI_KEY_CMD_PRDIFLN

#define BRLAPI_KEY_CMD_PRDIFLN   (BRLAPI_KEY_CMD(0) + 5)

go up to nearest line with different content

◆ BRLAPI_KEY_CMD_PREFLOAD

#define BRLAPI_KEY_CMD_PREFLOAD   (BRLAPI_KEY_CMD(0) + 54)

restore preferences from disk

◆ BRLAPI_KEY_CMD_PREFMENU

#define BRLAPI_KEY_CMD_PREFMENU   (BRLAPI_KEY_CMD(0) + 52)

enter/leave preferences menu

◆ BRLAPI_KEY_CMD_PREFSAVE

#define BRLAPI_KEY_CMD_PREFSAVE   (BRLAPI_KEY_CMD(0) + 53)

save preferences to disk

◆ BRLAPI_KEY_CMD_PRINDENT

#define BRLAPI_KEY_CMD_PRINDENT   BRLAPI_KEY_CMD(7)

go up to nearest line with less indent than character

◆ BRLAPI_KEY_CMD_PRNBWIN

#define BRLAPI_KEY_CMD_PRNBWIN   (BRLAPI_KEY_CMD(0) + 122)

go backward to nearest non-blank braille window

◆ BRLAPI_KEY_CMD_PRPGRPH

#define BRLAPI_KEY_CMD_PRPGRPH   (BRLAPI_KEY_CMD(0) + 13)

go up to first line of paragraph

◆ BRLAPI_KEY_CMD_PRPROMPT

#define BRLAPI_KEY_CMD_PRPROMPT   (BRLAPI_KEY_CMD(0) + 15)

go up to previous command prompt

◆ BRLAPI_KEY_CMD_PRSEARCH

#define BRLAPI_KEY_CMD_PRSEARCH   (BRLAPI_KEY_CMD(0) + 17)

search backward for clipboard text

◆ BRLAPI_KEY_CMD_RESTARTBRL

#define BRLAPI_KEY_CMD_RESTARTBRL   (BRLAPI_KEY_CMD(0) + 74)

restart braille driver

◆ BRLAPI_KEY_CMD_RESTARTSPEECH

#define BRLAPI_KEY_CMD_RESTARTSPEECH   (BRLAPI_KEY_CMD(0) + 75)

restart speech driver

◆ BRLAPI_KEY_CMD_RETURN

#define BRLAPI_KEY_CMD_RETURN   (BRLAPI_KEY_CMD(0) + 31)

go to screen cursor or go back after cursor tracking

◆ BRLAPI_KEY_CMD_ROUTE

#define BRLAPI_KEY_CMD_ROUTE   BRLAPI_KEY_CMD(1)

bring screen cursor to character

◆ BRLAPI_KEY_CMD_ROUTE_CURR_LOCN

#define BRLAPI_KEY_CMD_ROUTE_CURR_LOCN   (BRLAPI_KEY_CMD(0) + 104)

bring screen cursor to speech cursor

◆ BRLAPI_KEY_CMD_SAY_ABOVE

#define BRLAPI_KEY_CMD_SAY_ABOVE   (BRLAPI_KEY_CMD(0) + 64)

speak from top of screen through current line

◆ BRLAPI_KEY_CMD_SAY_BELOW

#define BRLAPI_KEY_CMD_SAY_BELOW   (BRLAPI_KEY_CMD(0) + 65)

speak from current line through bottom of screen

◆ BRLAPI_KEY_CMD_SAY_FASTER

#define BRLAPI_KEY_CMD_SAY_FASTER   (BRLAPI_KEY_CMD(0) + 67)

increase speaking rate

◆ BRLAPI_KEY_CMD_SAY_LINE

#define BRLAPI_KEY_CMD_SAY_LINE   (BRLAPI_KEY_CMD(0) + 63)

speak current line

◆ BRLAPI_KEY_CMD_SAY_LOUDER

#define BRLAPI_KEY_CMD_SAY_LOUDER   (BRLAPI_KEY_CMD(0) + 69)

increase speaking volume

◆ BRLAPI_KEY_CMD_SAY_SLOWER

#define BRLAPI_KEY_CMD_SAY_SLOWER   (BRLAPI_KEY_CMD(0) + 66)

decrease speaking rate

◆ BRLAPI_KEY_CMD_SAY_SOFTER

#define BRLAPI_KEY_CMD_SAY_SOFTER   (BRLAPI_KEY_CMD(0) + 68)

decrease speaking volume

◆ BRLAPI_KEY_CMD_SCR_START

#define BRLAPI_KEY_CMD_SCR_START   (BRLAPI_KEY_CMD(0) + 119)

start the screen driver

◆ BRLAPI_KEY_CMD_SCR_STOP

#define BRLAPI_KEY_CMD_SCR_STOP   (BRLAPI_KEY_CMD(0) + 118)

stop the screen driver

◆ BRLAPI_KEY_CMD_SELECTVT

#define BRLAPI_KEY_CMD_SELECTVT   BRLAPI_KEY_CMD(30)

bind to specific virtual terminal

◆ BRLAPI_KEY_CMD_SELECTVT_NEXT

#define BRLAPI_KEY_CMD_SELECTVT_NEXT   (BRLAPI_KEY_CMD(0) + 121)

bind to the next virtual terminal

◆ BRLAPI_KEY_CMD_SELECTVT_PREV

#define BRLAPI_KEY_CMD_SELECTVT_PREV   (BRLAPI_KEY_CMD(0) + 120)

bind to the previous virtual terminal

◆ BRLAPI_KEY_CMD_SET_ATTRIBUTES_TABLE

#define BRLAPI_KEY_CMD_SET_ATTRIBUTES_TABLE   BRLAPI_KEY_CMD(20)

set attributes table

◆ BRLAPI_KEY_CMD_SET_CONTRACTION_TABLE

#define BRLAPI_KEY_CMD_SET_CONTRACTION_TABLE   BRLAPI_KEY_CMD(21)

set contraction table

◆ BRLAPI_KEY_CMD_SET_KEYBOARD_TABLE

#define BRLAPI_KEY_CMD_SET_KEYBOARD_TABLE   BRLAPI_KEY_CMD(22)

set keyboard table

◆ BRLAPI_KEY_CMD_SET_LANGUAGE_PROFILE

#define BRLAPI_KEY_CMD_SET_LANGUAGE_PROFILE   BRLAPI_KEY_CMD(23)

set language profile

◆ BRLAPI_KEY_CMD_SET_TEXT_TABLE

#define BRLAPI_KEY_CMD_SET_TEXT_TABLE   BRLAPI_KEY_CMD(19)

set text table

◆ BRLAPI_KEY_CMD_SETLEFT

#define BRLAPI_KEY_CMD_SETLEFT   BRLAPI_KEY_CMD(10)

place left end of braille window at character

◆ BRLAPI_KEY_CMD_SETMARK

#define BRLAPI_KEY_CMD_SETMARK   BRLAPI_KEY_CMD(11)

remember current braille window position

◆ BRLAPI_KEY_CMD_SHIFT

#define BRLAPI_KEY_CMD_SHIFT   (BRLAPI_KEY_CMD(0) + 77)

cycle the Shift sticky input modifier (next, on, off)

◆ BRLAPI_KEY_CMD_SHOW_CURR_LOCN

#define BRLAPI_KEY_CMD_SHOW_CURR_LOCN   (BRLAPI_KEY_CMD(0) + 106)

set speech cursor visibility on/off

◆ BRLAPI_KEY_CMD_SIXDOTS

#define BRLAPI_KEY_CMD_SIXDOTS   (BRLAPI_KEY_CMD(0) + 34)

set text style 6-dot/8-dot

◆ BRLAPI_KEY_CMD_SKPBLNKWINS

#define BRLAPI_KEY_CMD_SKPBLNKWINS   (BRLAPI_KEY_CMD(0) + 37)

set skipping of blank braille windows on/off

◆ BRLAPI_KEY_CMD_SKPIDLNS

#define BRLAPI_KEY_CMD_SKPIDLNS   (BRLAPI_KEY_CMD(0) + 36)

set skipping of lines with identical content on/off

◆ BRLAPI_KEY_CMD_SLIDEWIN

#define BRLAPI_KEY_CMD_SLIDEWIN   (BRLAPI_KEY_CMD(0) + 35)

set sliding braille window on/off

◆ BRLAPI_KEY_CMD_SPEAK_CURR_CHAR

#define BRLAPI_KEY_CMD_SPEAK_CURR_CHAR   (BRLAPI_KEY_CMD(0) + 89)

speak current character

◆ BRLAPI_KEY_CMD_SPEAK_CURR_LINE

#define BRLAPI_KEY_CMD_SPEAK_CURR_LINE   (BRLAPI_KEY_CMD(0) + 95)

speak current line

◆ BRLAPI_KEY_CMD_SPEAK_CURR_LOCN

#define BRLAPI_KEY_CMD_SPEAK_CURR_LOCN   (BRLAPI_KEY_CMD(0) + 105)

speak speech cursor location

◆ BRLAPI_KEY_CMD_SPEAK_CURR_WORD

#define BRLAPI_KEY_CMD_SPEAK_CURR_WORD   (BRLAPI_KEY_CMD(0) + 92)

speak current word

◆ BRLAPI_KEY_CMD_SPEAK_FRST_CHAR

#define BRLAPI_KEY_CMD_SPEAK_FRST_CHAR   (BRLAPI_KEY_CMD(0) + 98)

go to and speak first non-blank character on line

◆ BRLAPI_KEY_CMD_SPEAK_FRST_LINE

#define BRLAPI_KEY_CMD_SPEAK_FRST_LINE   (BRLAPI_KEY_CMD(0) + 100)

go to and speak first non-blank line on screen

◆ BRLAPI_KEY_CMD_SPEAK_INDENT

#define BRLAPI_KEY_CMD_SPEAK_INDENT   (BRLAPI_KEY_CMD(0) + 125)

speak indent of current line

◆ BRLAPI_KEY_CMD_SPEAK_LAST_CHAR

#define BRLAPI_KEY_CMD_SPEAK_LAST_CHAR   (BRLAPI_KEY_CMD(0) + 99)

go to and speak last non-blank character on line

◆ BRLAPI_KEY_CMD_SPEAK_LAST_LINE

#define BRLAPI_KEY_CMD_SPEAK_LAST_LINE   (BRLAPI_KEY_CMD(0) + 101)

go to and speak last non-blank line on screen

◆ BRLAPI_KEY_CMD_SPEAK_NEXT_CHAR

#define BRLAPI_KEY_CMD_SPEAK_NEXT_CHAR   (BRLAPI_KEY_CMD(0) + 91)

go to and speak next character

◆ BRLAPI_KEY_CMD_SPEAK_NEXT_LINE

#define BRLAPI_KEY_CMD_SPEAK_NEXT_LINE   (BRLAPI_KEY_CMD(0) + 97)

go to and speak next line

◆ BRLAPI_KEY_CMD_SPEAK_NEXT_WORD

#define BRLAPI_KEY_CMD_SPEAK_NEXT_WORD   (BRLAPI_KEY_CMD(0) + 94)

go to and speak next word

◆ BRLAPI_KEY_CMD_SPEAK_PREV_CHAR

#define BRLAPI_KEY_CMD_SPEAK_PREV_CHAR   (BRLAPI_KEY_CMD(0) + 90)

go to and speak previous character

◆ BRLAPI_KEY_CMD_SPEAK_PREV_LINE

#define BRLAPI_KEY_CMD_SPEAK_PREV_LINE   (BRLAPI_KEY_CMD(0) + 96)

go to and speak previous line

◆ BRLAPI_KEY_CMD_SPEAK_PREV_WORD

#define BRLAPI_KEY_CMD_SPEAK_PREV_WORD   (BRLAPI_KEY_CMD(0) + 93)

go to and speak previous word

◆ BRLAPI_KEY_CMD_SPELL_CURR_WORD

#define BRLAPI_KEY_CMD_SPELL_CURR_WORD   (BRLAPI_KEY_CMD(0) + 103)

spell current word

◆ BRLAPI_KEY_CMD_SPK_START

#define BRLAPI_KEY_CMD_SPK_START   (BRLAPI_KEY_CMD(0) + 117)

start the speech driver

◆ BRLAPI_KEY_CMD_SPK_STOP

#define BRLAPI_KEY_CMD_SPK_STOP   (BRLAPI_KEY_CMD(0) + 116)

stop the speech driver

◆ BRLAPI_KEY_CMD_SPKHOME

#define BRLAPI_KEY_CMD_SPKHOME   (BRLAPI_KEY_CMD(0) + 62)

go to current speaking position

◆ BRLAPI_KEY_CMD_SWITCHVT

#define BRLAPI_KEY_CMD_SWITCHVT   BRLAPI_KEY_CMD(6)

switch to specific virtual terminal

◆ BRLAPI_KEY_CMD_SWITCHVT_NEXT

#define BRLAPI_KEY_CMD_SWITCHVT_NEXT   (BRLAPI_KEY_CMD(0) + 71)

switch to the next virtual terminal

◆ BRLAPI_KEY_CMD_SWITCHVT_PREV

#define BRLAPI_KEY_CMD_SWITCHVT_PREV   (BRLAPI_KEY_CMD(0) + 70)

switch to the previous virtual terminal

◆ BRLAPI_KEY_CMD_TIME

#define BRLAPI_KEY_CMD_TIME   (BRLAPI_KEY_CMD(0) + 81)

show current date and time

◆ BRLAPI_KEY_CMD_TOP

#define BRLAPI_KEY_CMD_TOP   (BRLAPI_KEY_CMD(0) + 9)

go to top line

◆ BRLAPI_KEY_CMD_TOP_LEFT

#define BRLAPI_KEY_CMD_TOP_LEFT   (BRLAPI_KEY_CMD(0) + 11)

go to beginning of top line

◆ BRLAPI_KEY_CMD_TOUCH_AT

#define BRLAPI_KEY_CMD_TOUCH_AT   BRLAPI_KEY_CMD(39)

current reading location

◆ BRLAPI_KEY_CMD_TOUCH_NAV

#define BRLAPI_KEY_CMD_TOUCH_NAV   (BRLAPI_KEY_CMD(0) + 124)

set touch navigation on/off

◆ BRLAPI_KEY_CMD_TUNES

#define BRLAPI_KEY_CMD_TUNES   (BRLAPI_KEY_CMD(0) + 46)

set alert tunes on/off

◆ BRLAPI_KEY_CMD_UNSTICK

#define BRLAPI_KEY_CMD_UNSTICK   (BRLAPI_KEY_CMD(0) + 111)

clear all sticky input modifiers

◆ BRLAPI_KEY_CMD_UPPER

#define BRLAPI_KEY_CMD_UPPER   (BRLAPI_KEY_CMD(0) + 78)

cycle the Upper sticky input modifier (next, on, off)

◆ BRLAPI_KEY_CMD_WINDN

#define BRLAPI_KEY_CMD_WINDN   (BRLAPI_KEY_CMD(0) + 4)

go down several lines

◆ BRLAPI_KEY_CMD_WINUP

#define BRLAPI_KEY_CMD_WINUP   (BRLAPI_KEY_CMD(0) + 3)

go up several lines

◆ BRLAPI_KEY_CODE_MASK

#define BRLAPI_KEY_CODE_MASK   UINT64_C(0X000000001FFFFFFF)

Mask for code of brlapi_keyCode_t

◆ BRLAPI_KEY_CODE_SHIFT

#define BRLAPI_KEY_CODE_SHIFT   0

Shift for code of brlapi_keyCode_t

◆ BRLAPI_KEY_FLAGS_MASK

#define BRLAPI_KEY_FLAGS_MASK   UINT64_C(0XFFFFFFFF00000000)

Mask for flags of brlapi_keyCode_t

◆ BRLAPI_KEY_FLAGS_SHIFT

#define BRLAPI_KEY_FLAGS_SHIFT   32

Shift for flags of brlapi_keyCode_t

◆ BRLAPI_KEY_FLG

#define BRLAPI_KEY_FLG (   v)    ((brlapi_keyCode_t)(v) << BRLAPI_KEY_FLAGS_SHIFT)

◆ BRLAPI_KEY_FLG_ALTGR

#define BRLAPI_KEY_FLG_ALTGR   BRLAPI_KEY_FLG(0X10)

altgr (right alt) key pressed

◆ BRLAPI_KEY_FLG_CONTROL

#define BRLAPI_KEY_FLG_CONTROL   BRLAPI_KEY_FLG(0X04)

control key pressed

◆ BRLAPI_KEY_FLG_GUI

#define BRLAPI_KEY_FLG_GUI   BRLAPI_KEY_FLG(0X20)

gui (windows) key pressed

◆ BRLAPI_KEY_FLG_KBD_EMUL0

#define BRLAPI_KEY_FLG_KBD_EMUL0   BRLAPI_KEY_FLG(0X0200)

it is an emulation 0 scan code

◆ BRLAPI_KEY_FLG_KBD_EMUL1

#define BRLAPI_KEY_FLG_KBD_EMUL1   BRLAPI_KEY_FLG(0X0400)

it is an emulation 1 scan code

◆ BRLAPI_KEY_FLG_KBD_RELEASE

#define BRLAPI_KEY_FLG_KBD_RELEASE   BRLAPI_KEY_FLG(0X0100)

it is a release scan code

◆ BRLAPI_KEY_FLG_META

#define BRLAPI_KEY_FLG_META   BRLAPI_KEY_FLG(0X08)

meta (left alt) key pressed

◆ BRLAPI_KEY_FLG_MOD1

#define BRLAPI_KEY_FLG_MOD1   BRLAPI_KEY_FLG(0x00000008)

Standard X modifiers Mod1 modifier (AKA meta)

◆ BRLAPI_KEY_FLG_MOD2

#define BRLAPI_KEY_FLG_MOD2   BRLAPI_KEY_FLG(0x00000010)

Mod2 modifier (usually numlock)

◆ BRLAPI_KEY_FLG_MOD3

#define BRLAPI_KEY_FLG_MOD3   BRLAPI_KEY_FLG(0x00000020)

Mod3 modifier

◆ BRLAPI_KEY_FLG_MOD4

#define BRLAPI_KEY_FLG_MOD4   BRLAPI_KEY_FLG(0x00000040)

Mod4 modifier

◆ BRLAPI_KEY_FLG_MOD5

#define BRLAPI_KEY_FLG_MOD5   BRLAPI_KEY_FLG(0x00000080)

Mod5 modifier (usually Alt-Gr)

◆ BRLAPI_KEY_FLG_MOTION_ROUTE

#define BRLAPI_KEY_FLG_MOTION_ROUTE   BRLAPI_KEY_FLG(0X0400)

bring screen cursor into braille window after function

◆ BRLAPI_KEY_FLG_MOTION_SCALED

#define BRLAPI_KEY_FLG_MOTION_SCALED   BRLAPI_KEY_FLG(0X0800)

scale arg=0X00-0XFF to screen height

◆ BRLAPI_KEY_FLG_MOTION_TOLEFT

#define BRLAPI_KEY_FLG_MOTION_TOLEFT   BRLAPI_KEY_FLG(0X1000)

go to beginning of line

◆ BRLAPI_KEY_FLG_SHIFT

#define BRLAPI_KEY_FLG_SHIFT   BRLAPI_KEY_FLG(0X01)

shift key pressed

◆ BRLAPI_KEY_FLG_TOGGLE_MASK

#define BRLAPI_KEY_FLG_TOGGLE_MASK   (BRLAPI_KEY_FLG_TOGGLE_ON | BRLAPI_KEY_FLG_TOGGLE_OFF)

mask for all toggle flags

◆ BRLAPI_KEY_FLG_TOGGLE_OFF

#define BRLAPI_KEY_FLG_TOGGLE_OFF   BRLAPI_KEY_FLG(0X0200)

disable feature

◆ BRLAPI_KEY_FLG_TOGGLE_ON

#define BRLAPI_KEY_FLG_TOGGLE_ON   BRLAPI_KEY_FLG(0X0100)

enable feature

◆ BRLAPI_KEY_FLG_UPPER

#define BRLAPI_KEY_FLG_UPPER   BRLAPI_KEY_FLG(0X02)

convert to uppercase

◆ BRLAPI_KEY_MAX

#define BRLAPI_KEY_MAX   UINT64_C(0XFFFFFFFFFFFFFFFF)

Brlapi_keyCode_t's biggest value

As defined in <stdint.h>

◆ BRLAPI_KEY_SYM_BACKSPACE

#define BRLAPI_KEY_SYM_BACKSPACE   UINT64_C(0X0000FF08)

Standard X keysyms

◆ BRLAPI_KEY_SYM_DELETE

#define BRLAPI_KEY_SYM_DELETE   UINT64_C(0X0000FFFF)

◆ BRLAPI_KEY_SYM_DOWN

#define BRLAPI_KEY_SYM_DOWN   UINT64_C(0X0000FF54)

◆ BRLAPI_KEY_SYM_END

#define BRLAPI_KEY_SYM_END   UINT64_C(0X0000FF57)

◆ BRLAPI_KEY_SYM_ESCAPE

#define BRLAPI_KEY_SYM_ESCAPE   UINT64_C(0X0000FF1B)

◆ BRLAPI_KEY_SYM_FUNCTION

#define BRLAPI_KEY_SYM_FUNCTION   UINT64_C(0X0000FFBE)

◆ BRLAPI_KEY_SYM_HOME

#define BRLAPI_KEY_SYM_HOME   UINT64_C(0X0000FF50)

◆ BRLAPI_KEY_SYM_INSERT

#define BRLAPI_KEY_SYM_INSERT   UINT64_C(0X0000FF63)

◆ BRLAPI_KEY_SYM_LEFT

#define BRLAPI_KEY_SYM_LEFT   UINT64_C(0X0000FF51)

◆ BRLAPI_KEY_SYM_LINEFEED

#define BRLAPI_KEY_SYM_LINEFEED   UINT64_C(0X0000FF0D)

◆ BRLAPI_KEY_SYM_PAGE_DOWN

#define BRLAPI_KEY_SYM_PAGE_DOWN   UINT64_C(0X0000FF56)

◆ BRLAPI_KEY_SYM_PAGE_UP

#define BRLAPI_KEY_SYM_PAGE_UP   UINT64_C(0X0000FF55)

◆ BRLAPI_KEY_SYM_RIGHT

#define BRLAPI_KEY_SYM_RIGHT   UINT64_C(0X0000FF53)

◆ BRLAPI_KEY_SYM_TAB

#define BRLAPI_KEY_SYM_TAB   UINT64_C(0X0000FF09)

◆ BRLAPI_KEY_SYM_UNICODE

#define BRLAPI_KEY_SYM_UNICODE   UINT64_C(0X01000000)

◆ BRLAPI_KEY_SYM_UP

#define BRLAPI_KEY_SYM_UP   UINT64_C(0X0000FF52)

◆ BRLAPI_KEY_TYPE_CMD

#define BRLAPI_KEY_TYPE_CMD   UINT64_C(0X0000000020000000)

Braille command brlapi_keyCode_t

◆ BRLAPI_KEY_TYPE_MASK

#define BRLAPI_KEY_TYPE_MASK   UINT64_C(0X00000000E0000000)

Mask for type of brlapi_keyCode_t

◆ BRLAPI_KEY_TYPE_SHIFT

#define BRLAPI_KEY_TYPE_SHIFT   29

Shift for type of brlapi_keyCode_t

◆ BRLAPI_KEY_TYPE_SYM

#define BRLAPI_KEY_TYPE_SYM   UINT64_C(0X0000000000000000)

X Keysym brlapi_keyCode_t

◆ BRLAPI_PRIuKEYCODE

#define BRLAPI_PRIuKEYCODE   PRIu64

Unsigned print format for brlapi_keyCode_t

◆ BRLAPI_PRIxKEYCODE

#define BRLAPI_PRIxKEYCODE   PRIx64

Hex print format for brlapi_keyCode_t

Typedef Documentation

◆ brlapi_keyCode_t

typedef uint64_t brlapi_keyCode_t