12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef cmKeyboard_h
- #define cmKeyboard_h
-
-
- enum
- {
- kInvalidKId,
- kAsciiKId,
- kLeftArrowKId,
- kRightArrowKId,
- kUpArrowKId,
- kDownArrowKId,
- kHomeKId,
- kEndKId,
- kPgUpKId,
- kPgDownKId,
- kInsertKId,
- kDeleteKId,
-
- };
-
-
-
-
-
- typedef struct
- {
- unsigned code;
- char ch;
- bool ctlFl;
- bool altFl;
- } cmKbRecd;
-
- // Set 'p' to NULL if the value of the key is not required.
- void cmKeyPress( cmKbRecd* p );
-
- #endif
|