From d0e82926297e9f857d20cc25e4fe175526fe5c30 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 30 Apr 2008 09:53:12 +0300 Subject: input.[ch]: Move some type definitions from .h to .c These aren't used outside input.c. --- input/input.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'input/input.c') diff --git a/input/input.c b/input/input.c index 7932b42fea..685e9afb00 100644 --- a/input/input.c +++ b/input/input.c @@ -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. -- cgit v1.2.3