Revision 171
crosshair and mouse (not working yet)
keyboard.c | ||
---|---|---|
20 | 20 |
int got_error_keyboard = SUCCESS; |
21 | 21 |
|
22 | 22 |
void (kbc_ih)(void) { |
23 |
if(done) { update_movement(); sz = 1; }
|
|
23 |
if(done) { sz = 1; } |
|
24 | 24 |
else sz++; |
25 | 25 |
uint8_t status = 0; |
26 | 26 |
got_error_keyboard = SUCCESS; |
... | ... | |
39 | 39 |
scancode[sz-1] = byte; |
40 | 40 |
done = !(TWO_BYTE_CODE == byte); |
41 | 41 |
|
42 |
if (done) update_movement(); |
|
42 | 43 |
|
43 | 44 |
} |
44 | 45 |
|
Also available in: Unified diff