From 2514465f6a4ab61617482f068e475b945438c1f1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 16 Jan 2011 21:12:32 +0100 Subject: [PATCH] keymap: Explain how to end the program Pressing Escape will only actually work if keymap is currently examining the primary keyboard. For other devices the user needs to press Control-C instead. --- extras/keymap/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/keymap/keymap.c b/extras/keymap/keymap.c index ed6b69d5f..719c30e60 100644 --- a/extras/keymap/keymap.c +++ b/extras/keymap/keymap.c @@ -311,7 +311,7 @@ static void interactive(int fd) /* grab input device */ ioctl(fd, EVIOCGRAB, 1); - puts("Press ESC to finish"); + puts("Press ESC to finish, or Control-C if this device is not your primary keyboard"); has_scan = has_key = 0; while (read_event(fd, &ev)) { -- 2.30.2