Move enum to menu_input.c

This commit is contained in:
twinaphex 2015-11-01 22:57:13 +01:00
parent ae2dca3587
commit b5a1cb6d12
2 changed files with 11 additions and 11 deletions

View File

@ -40,6 +40,17 @@
#include "../input/input_remapping.h"
#include "../input/input_common.h"
enum menu_mouse_action
{
MOUSE_ACTION_NONE = 0,
MOUSE_ACTION_BUTTON_L,
MOUSE_ACTION_BUTTON_L_TOGGLE,
MOUSE_ACTION_BUTTON_L_SET_NAVIGATION,
MOUSE_ACTION_BUTTON_R,
MOUSE_ACTION_WHEEL_UP,
MOUSE_ACTION_WHEEL_DOWN
};
struct menu_bind_state_port
{
bool buttons[MENU_MAX_BUTTONS];

View File

@ -49,17 +49,6 @@ enum menu_action
MENU_ACTION_POINTER_PRESSED
};
enum menu_mouse_action
{
MOUSE_ACTION_NONE = 0,
MOUSE_ACTION_BUTTON_L,
MOUSE_ACTION_BUTTON_L_TOGGLE,
MOUSE_ACTION_BUTTON_L_SET_NAVIGATION,
MOUSE_ACTION_BUTTON_R,
MOUSE_ACTION_WHEEL_UP,
MOUSE_ACTION_WHEEL_DOWN
};
enum menu_input_pointer_state
{
MENU_POINTER_X_AXIS = 0,