|
|
| version 1.6, 2004/03/28 10:50:16 | version 1.10, 2004/03/31 11:59:17 |
|---|---|
| Line 122 enum { | Line 122 enum { |
| #endif | #endif |
| enum { | enum { |
| NKEY_USER1 = 0x76, | |
| NKEY_USER2 = 0x77 | |
| }; | |
| enum { | |
| NKEY_SYSTEM = 0x90, | NKEY_SYSTEM = 0x90, |
| NKEY_USER = 0x90, | NKEY_USER = 0x90, |
| Line 158 typedef struct { | Line 153 typedef struct { |
| NKEYM15 user[NKEY_USERKEYS]; | NKEYM15 user[NKEY_USERKEYS]; |
| } NKEYTBL; | } NKEYTBL; |
| typedef struct { | |
| UINT8 reqparam; | |
| UINT8 mode; | |
| UINT8 kbdtype; | |
| UINT8 led; | |
| } KEYCTRL; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern NKEYTBL nkeytbl; | extern NKEYTBL nkeytbl; |
| extern KEYCTRL keyctrl; | |
| void keystat_initialize(void); | void keystat_initialize(void); |
| Line 172 void keystat_tblreset(void); | Line 175 void keystat_tblreset(void); |
| void keystat_tblset(REG8 ref, const UINT8 *key, UINT cnt); | void keystat_tblset(REG8 ref, const UINT8 *key, UINT cnt); |
| void keystat_tblload(const char *filename); | void keystat_tblload(const char *filename); |
| void keystat_ctrlinit(void); | |
| void keystat_ctrlreset(void); | |
| void keystat_ctrlsend(REG8 dat); | |
| void keystat_keydown(REG8 ref); | void keystat_keydown(REG8 ref); |
| void keystat_keyup(REG8 ref); | void keystat_keyup(REG8 ref); |
| void keystat_allrelease(void); | void keystat_allrelease(void); |