44 lines
1,015 B
C
44 lines
1,015 B
C
// KBKEYDEF.H KEY DEFINITIONS
|
|
|
|
#define ECOLNUMB 21 // NUMBER OF COLUMNS IN ENHANCED KEYBOARD
|
|
#define EROWNUMB 7 // DITO ROWS
|
|
#define ETOTALKEY 125 // ENHANCED KEYBOARD only main keys.
|
|
// included separators
|
|
|
|
// KEY NAMES
|
|
#define KB_LSHIFT 0
|
|
#define KB_RSHIFT 1
|
|
#define KB_CAPLOCK 2
|
|
#define KB_SPACE 3
|
|
#define KB_LCTR 4
|
|
#define KB_RCTR 5
|
|
#define KB_LALT 6
|
|
#define KB_RALT 7
|
|
#define KB_NUMLOCK 8
|
|
#define KB_PSC 9
|
|
#define NO_NAME 10
|
|
#define LED_NUMLOCK 11
|
|
#define LED_CAPSLOCK 12
|
|
#define LED_SCROLLLOCK 13
|
|
#define ICON 14
|
|
#define KB_SCROLL 15
|
|
#define BITMAP 16
|
|
|
|
// KEY TYPES
|
|
#define KNORMAL_TYPE 1
|
|
#define KMODIFIER_TYPE 2
|
|
#define KDEAD_TYPE 3
|
|
#define LED_NUMLOCK_TYPE 4
|
|
#define LED_CAPSLOCK_TYPE 5
|
|
#define LED_SCROLLLOCK_TYPE 6
|
|
#define NUMLOCK_TYPE 7
|
|
#define SCROLLOCK_TYPE 8
|
|
|
|
|
|
// TYPE OF KEYBOARD
|
|
#define LARGE 1
|
|
#define SMALL 2
|
|
#define BOTH 3
|
|
#define NOTSHOW 4
|
|
|