Broke some functions into smaller pieces, added the initial keyboard interface.

This commit is contained in:
Murilo Soares Pereira
2010-04-13 01:07:00 -03:00
parent 82d9ee9cb4
commit 67f4775dc4
7 changed files with 73 additions and 31 deletions

10
lib/keyboard.c Normal file
View File

@@ -0,0 +1,10 @@
#include <stdio.h>
#include "keyboard.h"
int key_event() {
int pressed_key;
pressed_key = getchar();
return(pressed_key);
}