diff options
author | torque <torque@1> | 2015-06-10 16:56:56 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-11 21:42:09 +0200 |
commit | d0fe5e08b984db840545c1b341a1e56fad304593 (patch) | |
tree | 67b8ad9092b82bcd7dff3d77c0b30c144c93944d /input/cmd_list.h | |
parent | b655ed5ed0c6d58a7e8937c28a7b2a0ccdf9c97e (diff) | |
download | mpv-d0fe5e08b984db840545c1b341a1e56fad304593.tar.bz2 mpv-d0fe5e08b984db840545c1b341a1e56fad304593.tar.xz |
command: add keypress, keydown, and keyup commands.
These commands are used to simulate keypresses using the key names from
input.conf.
Diffstat (limited to 'input/cmd_list.h')
-rw-r--r-- | input/cmd_list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/input/cmd_list.h b/input/cmd_list.h index fad635f0b2..5870ff584b 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -87,6 +87,9 @@ enum mp_command_type { MP_CMD_DROP_BUFFERS, MP_CMD_MOUSE, + MP_CMD_KEYPRESS, + MP_CMD_KEYDOWN, + MP_CMD_KEYUP, /// Audio Filter commands MP_CMD_AF, |