lk201.h File Reference

Back to the index.

Macros
lk201.h File Reference

Go to the source code of this file.

Macros

#define KBD_TAB   '\t'
 
#define KBD_DEL   127
 
#define KBD_RET   '\r'
 
#define KBD_NOKEY   128
 
#define KBD_F1   201
 
#define KBD_F2   202
 
#define KBD_F3   203
 
#define KBD_F4   204
 
#define KBD_F5   205
 
#define KBD_F6   206
 
#define KBD_F7   207
 
#define KBD_F8   208
 
#define KBD_F9   209
 
#define KBD_F10   210
 
#define KBD_F11   211
 
#define KBD_F12   212
 
#define KBD_F13   213
 
#define KBD_F14   214
 
#define KBD_HELP   215
 
#define KBD_DO   216
 
#define KBD_F17   217
 
#define KBD_F18   218
 
#define KBD_F19   219
 
#define KBD_F20   220
 
#define KBD_FIND   221
 
#define KBD_INSERT   222
 
#define KBD_REMOVE   223
 
#define KBD_SELECT   224
 
#define KBD_PREVIOUS   225
 
#define KBD_NEXT   226
 
#define KBD_KP_ENTER   227
 
#define KBD_KP_F1   228
 
#define KBD_KP_F2   229
 
#define KBD_KP_F3   230
 
#define KBD_KP_F4   231
 
#define KBD_LEFT   232
 
#define KBD_RIGHT   233
 
#define KBD_DOWN   234
 
#define KBD_UP   235
 
#define KBD_CONTROL   236
 
#define KBD_SHIFT   237
 
#define KBD_CAPSLOCK   238
 
#define KBD_ALTERNATE   239
 
#define KEY_R_SHIFT   0xab
 
#define KEY_SHIFT   0xae
 
#define KEY_CONTROL   0xaf
 
#define KEY_CAPSLOCK   0xb0
 
#define KEY_R_ALT   0xb2
 
#define KEY_UP   0xb3
 
#define KEY_REPEAT   0xb4
 
#define KEY_F1   0x56
 
#define KEY_COMMAND   KEY_F1
 
#define LK_UPDOWN   0x86 /* bits for setting lk201 modes */
 
#define LK_AUTODOWN   0x82
 
#define LK_DOWN   0x80
 
#define LK_DEFAULTS   0xd3 /* reset mode settings */
 
#define LK_AR_ENABLE   0xe3 /* global auto repeat enable */
 
#define LK_CL_ENABLE   0x1b /* keyclick enable */
 
#define LK_KBD_ENABLE   0x8b /* keyboard enable */
 
#define LK_BELL_ENABLE   0x23 /* the bell */
 
#define LK_LED_ENABLE   0x13 /* light led */
 
#define LK_LED_DISABLE   0x11 /* turn off led */
 
#define LK_RING_BELL   0xa7 /* ring keyboard bell */
 
#define LED_1   0x81 /* led bits */
 
#define LED_2   0x82
 
#define LED_3   0x84
 
#define LED_4   0x88
 
#define LED_ALL   0x8f
 
#define LK_HELP   0x7c /* help key */
 
#define LK_DO   0x7d /* do key */
 
#define LK_KDOWN_ERROR   0x3d /* key down on powerup error */
 
#define LK_POWER_ERROR   0x3e /* keyboard failure on pwrup tst*/
 
#define LK_OUTPUT_ERROR   0xb5 /* keystrokes lost during inhbt */
 
#define LK_INPUT_ERROR   0xb6 /* garbage command to keyboard */
 
#define LK_LOWEST   0x56 /* lowest significant keycode */
 
#define LK_PARAM_VOLUME(v)   (0x80|((v)&0x7))
 
#define LK_CMD_MODE(m, div)   ((m)|((div)<<3))
 
#define MOUSE_SELF_TEST   'T'
 
#define MOUSE_INCREMENTAL   'R'
 
#define MOUSE_START_FRAME   0x80
 
#define MOUSE_X_SIGN   0x10
 
#define MOUSE_Y_SIGN   0x08
 
#define EVENT_LEFT_BUTTON   0x01
 
#define EVENT_MIDDLE_BUTTON   0x02
 
#define EVENT_RIGHT_BUTTON   0x03
 
#define RIGHT_BUTTON   0x01
 
#define MIDDLE_BUTTON   0x02
 
#define LEFT_BUTTON   0x04
 

Macro Definition Documentation

◆ EVENT_LEFT_BUTTON

#define EVENT_LEFT_BUTTON   0x01

Definition at line 140 of file lk201.h.

◆ EVENT_MIDDLE_BUTTON

#define EVENT_MIDDLE_BUTTON   0x02

Definition at line 141 of file lk201.h.

◆ EVENT_RIGHT_BUTTON

#define EVENT_RIGHT_BUTTON   0x03

Definition at line 142 of file lk201.h.

◆ KBD_ALTERNATE

#define KBD_ALTERNATE   239

Definition at line 64 of file lk201.h.

◆ KBD_CAPSLOCK

#define KBD_CAPSLOCK   238

Definition at line 63 of file lk201.h.

◆ KBD_CONTROL

#define KBD_CONTROL   236

Definition at line 61 of file lk201.h.

◆ KBD_DEL

#define KBD_DEL   127

Definition at line 13 of file lk201.h.

◆ KBD_DO

#define KBD_DO   216

Definition at line 38 of file lk201.h.

◆ KBD_DOWN

#define KBD_DOWN   234

Definition at line 58 of file lk201.h.

◆ KBD_F1

#define KBD_F1   201

Definition at line 23 of file lk201.h.

◆ KBD_F10

#define KBD_F10   210

Definition at line 32 of file lk201.h.

◆ KBD_F11

#define KBD_F11   211

Definition at line 33 of file lk201.h.

◆ KBD_F12

#define KBD_F12   212

Definition at line 34 of file lk201.h.

◆ KBD_F13

#define KBD_F13   213

Definition at line 35 of file lk201.h.

◆ KBD_F14

#define KBD_F14   214

Definition at line 36 of file lk201.h.

◆ KBD_F17

#define KBD_F17   217

Definition at line 39 of file lk201.h.

◆ KBD_F18

#define KBD_F18   218

Definition at line 40 of file lk201.h.

◆ KBD_F19

#define KBD_F19   219

Definition at line 41 of file lk201.h.

◆ KBD_F2

#define KBD_F2   202

Definition at line 24 of file lk201.h.

◆ KBD_F20

#define KBD_F20   220

Definition at line 42 of file lk201.h.

◆ KBD_F3

#define KBD_F3   203

Definition at line 25 of file lk201.h.

◆ KBD_F4

#define KBD_F4   204

Definition at line 26 of file lk201.h.

◆ KBD_F5

#define KBD_F5   205

Definition at line 27 of file lk201.h.

◆ KBD_F6

#define KBD_F6   206

Definition at line 28 of file lk201.h.

◆ KBD_F7

#define KBD_F7   207

Definition at line 29 of file lk201.h.

◆ KBD_F8

#define KBD_F8   208

Definition at line 30 of file lk201.h.

◆ KBD_F9

#define KBD_F9   209

Definition at line 31 of file lk201.h.

◆ KBD_FIND

#define KBD_FIND   221

Definition at line 44 of file lk201.h.

◆ KBD_HELP

#define KBD_HELP   215

Definition at line 37 of file lk201.h.

◆ KBD_INSERT

#define KBD_INSERT   222

Definition at line 45 of file lk201.h.

◆ KBD_KP_ENTER

#define KBD_KP_ENTER   227

Definition at line 51 of file lk201.h.

◆ KBD_KP_F1

#define KBD_KP_F1   228

Definition at line 52 of file lk201.h.

◆ KBD_KP_F2

#define KBD_KP_F2   229

Definition at line 53 of file lk201.h.

◆ KBD_KP_F3

#define KBD_KP_F3   230

Definition at line 54 of file lk201.h.

◆ KBD_KP_F4

#define KBD_KP_F4   231

Definition at line 55 of file lk201.h.

◆ KBD_LEFT

#define KBD_LEFT   232

Definition at line 56 of file lk201.h.

◆ KBD_NEXT

#define KBD_NEXT   226

Definition at line 49 of file lk201.h.

◆ KBD_NOKEY

#define KBD_NOKEY   128

Definition at line 21 of file lk201.h.

◆ KBD_PREVIOUS

#define KBD_PREVIOUS   225

Definition at line 48 of file lk201.h.

◆ KBD_REMOVE

#define KBD_REMOVE   223

Definition at line 46 of file lk201.h.

◆ KBD_RET

#define KBD_RET   '\r'

Definition at line 14 of file lk201.h.

◆ KBD_RIGHT

#define KBD_RIGHT   233

Definition at line 57 of file lk201.h.

◆ KBD_SELECT

#define KBD_SELECT   224

Definition at line 47 of file lk201.h.

◆ KBD_SHIFT

#define KBD_SHIFT   237

Definition at line 62 of file lk201.h.

◆ KBD_TAB

#define KBD_TAB   '\t'

Definition at line 12 of file lk201.h.

◆ KBD_UP

#define KBD_UP   235

Definition at line 59 of file lk201.h.

◆ KEY_CAPSLOCK

#define KEY_CAPSLOCK   0xb0

Definition at line 77 of file lk201.h.

◆ KEY_COMMAND

#define KEY_COMMAND   KEY_F1

Definition at line 82 of file lk201.h.

◆ KEY_CONTROL

#define KEY_CONTROL   0xaf

Definition at line 76 of file lk201.h.

◆ KEY_F1

#define KEY_F1   0x56

Definition at line 81 of file lk201.h.

◆ KEY_R_ALT

#define KEY_R_ALT   0xb2

Definition at line 78 of file lk201.h.

◆ KEY_R_SHIFT

#define KEY_R_SHIFT   0xab

Definition at line 74 of file lk201.h.

◆ KEY_REPEAT

#define KEY_REPEAT   0xb4

Definition at line 80 of file lk201.h.

◆ KEY_SHIFT

#define KEY_SHIFT   0xae

Definition at line 75 of file lk201.h.

◆ KEY_UP

#define KEY_UP   0xb3

Definition at line 79 of file lk201.h.

◆ LED_1

#define LED_1   0x81 /* led bits */

Definition at line 98 of file lk201.h.

Referenced by lk201_tx_data().

◆ LED_2

#define LED_2   0x82

Definition at line 99 of file lk201.h.

Referenced by lk201_tx_data().

◆ LED_3

#define LED_3   0x84

Definition at line 100 of file lk201.h.

Referenced by lk201_tx_data().

◆ LED_4

#define LED_4   0x88

Definition at line 101 of file lk201.h.

Referenced by lk201_tx_data().

◆ LED_ALL

#define LED_ALL   0x8f

Definition at line 102 of file lk201.h.

Referenced by lk201_tx_data().

◆ LEFT_BUTTON

#define LEFT_BUTTON   0x04

Definition at line 145 of file lk201.h.

◆ LK_AR_ENABLE

#define LK_AR_ENABLE   0xe3 /* global auto repeat enable */

Definition at line 91 of file lk201.h.

◆ LK_AUTODOWN

#define LK_AUTODOWN   0x82

Definition at line 88 of file lk201.h.

◆ LK_BELL_ENABLE

#define LK_BELL_ENABLE   0x23 /* the bell */

Definition at line 94 of file lk201.h.

Referenced by lk201_tx_data().

◆ LK_CL_ENABLE

#define LK_CL_ENABLE   0x1b /* keyclick enable */

Definition at line 92 of file lk201.h.

◆ LK_CMD_MODE

#define LK_CMD_MODE (   m,
  div 
)    ((m)|((div)<<3))

Definition at line 115 of file lk201.h.

◆ LK_DEFAULTS

#define LK_DEFAULTS   0xd3 /* reset mode settings */

Definition at line 90 of file lk201.h.

Referenced by lk201_tx_data().

◆ LK_DO

#define LK_DO   0x7d /* do key */

Definition at line 104 of file lk201.h.

◆ LK_DOWN

#define LK_DOWN   0x80

Definition at line 89 of file lk201.h.

◆ LK_HELP

#define LK_HELP   0x7c /* help key */

Definition at line 103 of file lk201.h.

◆ LK_INPUT_ERROR

#define LK_INPUT_ERROR   0xb6 /* garbage command to keyboard */

Definition at line 108 of file lk201.h.

◆ LK_KBD_ENABLE

#define LK_KBD_ENABLE   0x8b /* keyboard enable */

Definition at line 93 of file lk201.h.

Referenced by lk201_tx_data().

◆ LK_KDOWN_ERROR

#define LK_KDOWN_ERROR   0x3d /* key down on powerup error */

Definition at line 105 of file lk201.h.

◆ LK_LED_DISABLE

#define LK_LED_DISABLE   0x11 /* turn off led */

Definition at line 96 of file lk201.h.

Referenced by lk201_tx_data().

◆ LK_LED_ENABLE

#define LK_LED_ENABLE   0x13 /* light led */

Definition at line 95 of file lk201.h.

Referenced by lk201_tx_data().

◆ LK_LOWEST

#define LK_LOWEST   0x56 /* lowest significant keycode */

Definition at line 109 of file lk201.h.

◆ LK_OUTPUT_ERROR

#define LK_OUTPUT_ERROR   0xb5 /* keystrokes lost during inhbt */

Definition at line 107 of file lk201.h.

◆ LK_PARAM_VOLUME

#define LK_PARAM_VOLUME (   v)    (0x80|((v)&0x7))

Definition at line 112 of file lk201.h.

◆ LK_POWER_ERROR

#define LK_POWER_ERROR   0x3e /* keyboard failure on pwrup tst*/

Definition at line 106 of file lk201.h.

◆ LK_RING_BELL

#define LK_RING_BELL   0xa7 /* ring keyboard bell */

Definition at line 97 of file lk201.h.

Referenced by lk201_tx_data().

◆ LK_UPDOWN

#define LK_UPDOWN   0x86 /* bits for setting lk201 modes */

Definition at line 87 of file lk201.h.

◆ MIDDLE_BUTTON

#define MIDDLE_BUTTON   0x02

Definition at line 144 of file lk201.h.

◆ MOUSE_INCREMENTAL

#define MOUSE_INCREMENTAL   'R'

Definition at line 122 of file lk201.h.

Referenced by lk201_tx_data().

◆ MOUSE_SELF_TEST

#define MOUSE_SELF_TEST   'T'

Definition at line 121 of file lk201.h.

Referenced by lk201_tx_data().

◆ MOUSE_START_FRAME

#define MOUSE_START_FRAME   0x80

Definition at line 133 of file lk201.h.

◆ MOUSE_X_SIGN

#define MOUSE_X_SIGN   0x10

Definition at line 134 of file lk201.h.

◆ MOUSE_Y_SIGN

#define MOUSE_Y_SIGN   0x08

Definition at line 135 of file lk201.h.

◆ RIGHT_BUTTON

#define RIGHT_BUTTON   0x01

Definition at line 143 of file lk201.h.


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13