|
|
| version 1.6, 2004/03/28 10:50:16 | version 1.9, 2004/03/30 20:01:29 |
|---|---|
| Line 121 enum { | Line 121 enum { |
| }; | }; |
| #endif | #endif |
| #if 0 | |
| enum { | enum { |
| NKEY_USER1 = 0x76, | NKEY_USER1 = 0x76, |
| NKEY_USER2 = 0x77 | NKEY_USER2 = 0x77 |
| }; | }; |
| #endif | |
| enum { | enum { |
| NKEY_SYSTEM = 0x90, | NKEY_SYSTEM = 0x90, |
| Line 158 typedef struct { | Line 160 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 182 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_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); |