Fixed: Increased key states array to accomidate full range
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 09:37:49 +0000 (17:37 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 09:37:49 +0000 (17:37 +0800)
Kernel/drv/kb.c

index 0d11591..14ff74b 100644 (file)
@@ -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