Move variable out of header

This commit is contained in:
twinaphex 2015-11-01 22:43:54 +01:00
parent 7372885922
commit 60f7a26f53
2 changed files with 5 additions and 5 deletions

View File

@ -136,6 +136,7 @@ typedef struct menu_input
} delay; } delay;
} menu_input_t; } menu_input_t;
static unsigned bind_port;
static menu_input_t menu_input_state; static menu_input_t menu_input_state;
void menu_input_free(void) void menu_input_free(void)

View File

@ -25,6 +25,10 @@
extern "C" { extern "C" {
#endif #endif
#define MENU_MAX_BUTTONS 219
#define MENU_MAX_AXES 32
#define MENU_MAX_HATS 4
enum menu_action enum menu_action
{ {
MENU_ACTION_NOOP = 0, MENU_ACTION_NOOP = 0,
@ -104,11 +108,6 @@ enum menu_input_bind_mode
MENU_INPUT_BIND_ALL MENU_INPUT_BIND_ALL
}; };
#define MENU_MAX_BUTTONS 219
#define MENU_MAX_AXES 32
#define MENU_MAX_HATS 4
unsigned bind_port;
void menu_input_key_event(bool down, unsigned keycode, uint32_t character, void menu_input_key_event(bool down, unsigned keycode, uint32_t character,
uint16_t key_modifiers); uint16_t key_modifiers);