]> Zhao Yanbai Git Server - minix.git/commitdiff
Add scancode reading capability to TTY
authorErik van der Kouwe <erik@minix3.org>
Thu, 15 Apr 2010 07:08:04 +0000 (07:08 +0000)
committerErik van der Kouwe <erik@minix3.org>
Thu, 15 Apr 2010 07:08:04 +0000 (07:08 +0000)
test/scancodes/test-scancodes.c

index e03cd05b092ecc0019583f1f8b47683d9ff75abe..1ca9179092ce584ddcf9ad47aa45fb126464ad3f 100644 (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;