Created
September 16, 2014 14:15
-
-
Save aarroyoc/634afddcb3e977ea202d to your computer and use it in GitHub Desktop.
ND_Keyboard_Handler.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern "C" | |
void ND_Keyboard_Handler(struct regs* r) | |
{ | |
unsigned char scancode = ND::Keyboard::GetChar(); | |
if(scancode!=255) | |
{ | |
ND::Screen::PutChar(scancode); | |
stringBuffer[stringPos]=scancode; | |
stringPos++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment