mirror of https://github.com/mpv-player/mpv
input.[ch]: Move some type definitions from .h to .c
These aren't used outside input.c.
This commit is contained in:
parent
a4240ff361
commit
d0e8292629
|
@ -39,6 +39,16 @@
|
|||
|
||||
#include "ar.h"
|
||||
|
||||
typedef struct mp_cmd_bind {
|
||||
int input[MP_MAX_KEY_DOWN+1];
|
||||
char* cmd;
|
||||
} mp_cmd_bind_t;
|
||||
|
||||
typedef struct mp_key_name {
|
||||
int key;
|
||||
char* name;
|
||||
} mp_key_name_t;
|
||||
|
||||
/// This array defines all known commands.
|
||||
/// The first field is an id used to recognize the command without too many strcmp.
|
||||
/// The second is obviously the command name.
|
||||
|
|
|
@ -194,16 +194,6 @@ typedef struct mp_cmd {
|
|||
} mp_cmd_t;
|
||||
|
||||
|
||||
typedef struct mp_cmd_bind {
|
||||
int input[MP_MAX_KEY_DOWN+1];
|
||||
char* cmd;
|
||||
} mp_cmd_bind_t;
|
||||
|
||||
typedef struct mp_key_name {
|
||||
int key;
|
||||
char* name;
|
||||
} mp_key_name_t;
|
||||
|
||||
// These typedefs are for the drivers. They are the functions used to retrieve
|
||||
// the next key code or command.
|
||||
|
||||
|
|
Loading…
Reference in New Issue