|
|
| version 1.13, 2004/04/02 19:31:26 | version 1.15, 2004/04/07 14:55:46 |
|---|---|
| Line 5 | Line 5 |
| #include "iocore.h" | #include "iocore.h" |
| #include "keystat.h" | #include "keystat.h" |
| #include "keystat.tbl" | #include "keystat.tbl" |
| #include "softkbd.h" | |
| typedef struct { | typedef struct { |
| Line 179 static void reloadled(void) { | Line 180 static void reloadled(void) { |
| keyctrl.kanaref = keystat.ref[0x72]; | keyctrl.kanaref = keystat.ref[0x72]; |
| keyctrl.capsref = keystat.ref[0x71]; | keyctrl.capsref = keystat.ref[0x71]; |
| #if defined(SUPPORT_SOFTKBD) | |
| softkbd_led(getledstat()); | |
| #endif | |
| } | } |
| void keystat_ctrlreset(void) { | void keystat_ctrlreset(void) { |
| Line 186 void keystat_ctrlreset(void) { | Line 190 void keystat_ctrlreset(void) { |
| keyctrl.reqparam = 0; | keyctrl.reqparam = 0; |
| keystat.ref[0x72] = keyctrl.kanaref; | keystat.ref[0x72] = keyctrl.kanaref; |
| keystat.ref[0x71] = keyctrl.capsref; | keystat.ref[0x71] = keyctrl.capsref; |
| #if defined(SUPPORT_SOFTKBD) | |
| softkbd_led(getledstat()); | |
| #endif | |
| } | } |
| void keystat_ctrlsend(REG8 dat) { | void keystat_ctrlsend(REG8 dat) { |
| return; | |
| if (!keyctrl.reqparam) { | if (!keyctrl.reqparam) { |
| keyctrl.mode = dat; | keyctrl.mode = dat; |
| switch(dat) { | switch(dat) { |