diff options
author | wm4 <wm4@nowhere> | 2015-12-23 19:13:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-23 19:13:45 +0100 |
commit | b0381d27eb19d8f70f4f711d41dd342c616ae843 (patch) | |
tree | 89eee7586c847ba69cd33d9d96be20ff3553646b /input/keycodes.c | |
parent | 3e1aed8f40f0c35f78c74502050630519895c972 (diff) | |
download | mpv-b0381d27eb19d8f70f4f711d41dd342c616ae843.tar.bz2 mpv-b0381d27eb19d8f70f4f711d41dd342c616ae843.tar.xz |
input: add a catch-all "unmapped" command
This can be used to grab all unmapped keys.
Fixes #2612.
Diffstat (limited to 'input/keycodes.c')
-rw-r--r-- | input/keycodes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/input/keycodes.c b/input/keycodes.c index 21a3c10e64..d6c07288c2 100644 --- a/input/keycodes.c +++ b/input/keycodes.c @@ -171,6 +171,8 @@ static const struct key_name key_names[] = { { MP_KEY_MOUSE_LEAVE, "MOUSE_LEAVE" }, { MP_KEY_MOUSE_ENTER, "MOUSE_ENTER" }, + { MP_KEY_UNMAPPED, "UNMAPPED" }, + { 0, NULL } }; |