Add scancode reading capability to TTY

This commit is contained in:
Erik van der Kouwe 2010-04-15 07:08:04 +00:00
parent 7de730afe4
commit 5230a36c2e

View file

@ -400,6 +400,10 @@ static int testscancodes(int fd)
int main(void)
{
printf("try out some keys to find out whether SCANCODES works\n");
printf("press CTRL+C to end this test\n");
printf("please note that this test only works from a console tty\n");
/* perform test using stdin */
if (testscancodes(STDIN_FILENO) < 0)
return -1;