From 5230a36c2e08bbee6b92f594b4291ba6b72e8629 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Thu, 15 Apr 2010 07:08:04 +0000 Subject: [PATCH] Add scancode reading capability to TTY --- test/scancodes/test-scancodes.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/scancodes/test-scancodes.c b/test/scancodes/test-scancodes.c index e03cd05b0..1ca917909 100644 --- a/test/scancodes/test-scancodes.c +++ b/test/scancodes/test-scancodes.c @@ -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; -- 2.44.0