Remove keyboard test

This commit is contained in:
Kevin Lange 2012-10-08 20:09:43 -07:00
parent b1c6919b53
commit 5f869316c1

View File

@ -1,31 +0,0 @@
/*
* keyboard-test
*
* Waits for key presses in locked keyboard mode
* and prints them to the screen.
*/
#include <stdio.h>
#include <stdint.h>
#include <syscall.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, char ** argv) {
syscall_kbd_mode(1);
int playing = 1;
while (playing) {
char ch = 0;
ch = syscall_kbd_get();
if (ch) {
printf("Pressed key %d\n", ch);
}
}
syscall_kbd_mode(0);
return 0;
}