diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2011-01-16 21:12:32 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2011-01-16 21:12:32 +0100 |
commit | 2514465f6a4ab61617482f068e475b945438c1f1 (patch) | |
tree | e044211a07e6bb588dff8a7161ce8d44ef0801e4 /extras/keymap | |
parent | 90f182c3d69a4451bb1ea6f79d8d7fe4895cdf89 (diff) |
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.
Diffstat (limited to 'extras/keymap')
-rw-r--r-- | extras/keymap/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/keymap/keymap.c b/extras/keymap/keymap.c index ed6b69d5f1..719c30e600 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)) { |