Skip to content

Commit

Permalink
Move variable out of header
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Nov 1, 2015
1 parent 7372885 commit 60f7a26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions menu/menu_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ typedef struct menu_input
} delay;
} menu_input_t;

static unsigned bind_port;
static menu_input_t menu_input_state;

void menu_input_free(void)
Expand Down
9 changes: 4 additions & 5 deletions menu/menu_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
extern "C" {
#endif

#define MENU_MAX_BUTTONS 219
#define MENU_MAX_AXES 32
#define MENU_MAX_HATS 4

enum menu_action
{
MENU_ACTION_NOOP = 0,
Expand Down Expand Up @@ -104,11 +108,6 @@ enum menu_input_bind_mode
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,
uint16_t key_modifiers);
Expand Down

0 comments on commit 60f7a26

Please sign in to comment.