git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370a237
)
Fixed: Increased key states array to accomidate full range
author
John Hodge
<
[email protected]
>
Sun, 27 Sep 2009 09:37:49 +0000
(17:37 +0800)
committer
John Hodge
<
[email protected]
>
Sun, 27 Sep 2009 09:37:49 +0000
(17:37 +0800)
Kernel/drv/kb.c
patch
|
blob
|
history
diff --git
a/Kernel/drv/kb.c
b/Kernel/drv/kb.c
index
0d11591
..
14ff74b
100644
(file)
--- a/
Kernel/drv/kb.c
+++ b/
Kernel/drv/kb.c
@@
-36,7
+36,7
@@
tDevFS_Driver gKB_DevInfo = {
};
tKeybardCallback gKB_Callback = NULL;
Uint8 **gpKB_Map = gpKBDUS;
-Uint8 gbaKB_States[256];
+Uint8 gbaKB_States[
3*
256];
int gbKB_ShiftState = 0;
int gbKB_CapsState = 0;
int gbKB_KeyUp = 0;
@@
-110,9
+110,6
@@
void KB_IRQHandler()
if(!ch && !gbKB_KeyUp)
Warning("UNK %i %x", giKB_KeyLayer, scancode);
- //if(keyNum > 128)
- Log("keyNum = %i\n", keyNum);
-
// Reset Layer
giKB_KeyLayer = 0;
UCC
git Repository :: git.ucc.asn.au