diff options
author | wm4 <wm4@nowhere> | 2019-11-22 01:19:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-22 01:19:00 +0100 |
commit | 033af5390f8dc16ef5b318f8feadef971b813be7 (patch) | |
tree | ea13cd41a142b74ce1521d6091fb0adb28d2954f /input/input.h | |
parent | 4a90da4e1d336e61115b897b2bb84324f80539b5 (diff) | |
download | mpv-033af5390f8dc16ef5b318f8feadef971b813be7.tar.bz2 mpv-033af5390f8dc16ef5b318f8feadef971b813be7.tar.xz |
input: make MP_INPUT_RELEASE_ALL a pseudo-key
Should be without consequences. I think this is less trouble, because
code frequently wants to add/remove bits for modifiers and key state
from key codes, and with this change you can't accidentally break it by
testing or removing bits from the old -1 value.
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/input/input.h b/input/input.h index f62a50bdca..bdbfda2dcb 100644 --- a/input/input.h +++ b/input/input.h @@ -23,9 +23,6 @@ #include "cmd.h" -// For mp_input_put_key(): release all keys that are down. -#define MP_INPUT_RELEASE_ALL -1 - struct input_ctx; struct mp_log; |