/usr/include/brltty/brldefs-ir.h is in libbrlapi-dev 5.5-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /*
* BRLTTY - A background process providing access to the console screen (when in
* text mode) for a blind person using a refreshable braille display.
*
* Copyright (C) 1995-2017 by The BRLTTY Developers.
*
* BRLTTY comes with ABSOLUTELY NO WARRANTY.
*
* This is free software, placed under the terms of the
* GNU Lesser General Public License, as published by the Free Software
* Foundation; either version 2.1 of the License, or (at your option) any
* later version. Please see the file LICENSE-LGPL for details.
*
* Web Page: http://brltty.com/
*
* This software is maintained by Dave Mielke <dave@mielke.cc>.
*/
#ifndef BRLTTY_INCLUDED_IR_BRLDEFS
#define BRLTTY_INCLUDED_IR_BRLDEFS
#define IR_DEFAULT_LATCH_DELAY 1000
#define IR_DEFAULT_LATCH_INTERVAL 100
#define IR_WINDOW_SIZE_MAXIMUM 40 /* Maximum size for braille window and visual display */
#define IR_WINDOW_SIZE_SMALL 32 /* Size of braille window on the Iris S */
#define IR_OPT_SERIALNUMBERRESPONSE_LENGTH 6
#define IR_OPT_SERIALNUMBERRESPONSE_NOWINDOWLENGTH 0xff
typedef enum {
IR_IPT_BrailleKeys = 'B',
IR_IPT_LinearKeys = 'C',
IR_IPT_InteractiveKey = 'I',
IR_IPT_SerialNumberResponse = 'S',
IR_IPT_XtKeyCode = 'U',
IR_IPT_XtKeyCodeRepeat = 'u',
IR_IPT_VersionResponse = 'V'
} IrisInputPacketType;
typedef enum {
IR_OPT_WriteBraille = 'B',
IR_OPT_WriteVisual = 'L',
IR_OPT_SerialNumberRequest = 'S',
IR_OPT_VersionRequest = 'V'
} IrisOutputPacketType;
typedef enum {
/* linear keys */
IR_KEY_L1 = 0X00,
IR_KEY_L2 = 0X01,
IR_KEY_L3 = 0X02,
IR_KEY_L4 = 0X03,
IR_KEY_L5 = 0X05,
IR_KEY_L6 = 0X06,
IR_KEY_L7 = 0X07,
IR_KEY_L8 = 0X08,
/* braille keys */
IR_KEY_Dot1 = 0X10,
IR_KEY_Dot2 = 0X11,
IR_KEY_Dot3 = 0X12,
IR_KEY_Dot4 = 0X13,
IR_KEY_Dot5 = 0X14,
IR_KEY_Dot6 = 0X15,
IR_KEY_Dot7 = 0X16,
IR_KEY_Dot8 = 0X17,
IR_KEY_Backspace = 0X18,
IR_KEY_Space = 0X19,
/* special keys */
IR_KEY_Menu = 0X20,
IR_KEY_Z = 0X21
} IR_NavigationKey;
typedef enum {
IR_GRP_NavigationKeys = 0,
IR_GRP_RoutingKeys,
IR_GRP_Xt,
IR_GRP_XtE0,
IR_GRP_XtE1
} IR_KeyGroup;
#endif /* BRLTTY_INCLUDED_IR_BRLDEFS */
|