diff options
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/input/input.h b/input/input.h index 6da1f719c2..02e9d2f86b 100644 --- a/input/input.h +++ b/input/input.h @@ -76,9 +76,12 @@ typedef struct mp_cmd { int flags; // mp_cmd_flags bitfield bstr original; char *input_section; - bool key_up_follows; - bool repeated; - bool mouse_move; + bool is_up_down : 1; + bool is_up : 1; + bool is_mouse_button : 1; + bool key_up_follows : 1; + bool repeated : 1; + bool mouse_move : 1; int mouse_x, mouse_y; struct mp_cmd *queue_next; double scale; // for scaling numeric arguments |