mirror of
https://github.com/libretro/RetroArch
synced 2025-03-27 05:37:40 +00:00
Move defines around
This commit is contained in:
parent
df23b122fe
commit
8a6333ddc1
@ -29,6 +29,10 @@
|
||||
#include "input_overlay.h"
|
||||
#endif
|
||||
|
||||
#ifndef MAX_USERS
|
||||
#define MAX_USERS 16
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <boolean.h>
|
||||
|
||||
#include "../driver.h"
|
||||
#include "../input/input_driver.h"
|
||||
#include "../dynamic.h"
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
|
@ -39,6 +39,10 @@
|
||||
#include "../input/input_remapping.h"
|
||||
#include "../input/input_common.h"
|
||||
|
||||
#define MENU_MAX_BUTTONS 219
|
||||
#define MENU_MAX_AXES 32
|
||||
#define MENU_MAX_HATS 4
|
||||
|
||||
unsigned bind_port;
|
||||
|
||||
struct menu_bind_state_port
|
||||
|
@ -25,22 +25,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef MENU_MAX_BUTTONS
|
||||
#define MENU_MAX_BUTTONS 219
|
||||
#endif
|
||||
|
||||
#ifndef MENU_MAX_AXES
|
||||
#define MENU_MAX_AXES 32
|
||||
#endif
|
||||
|
||||
#ifndef MENU_MAX_HATS
|
||||
#define MENU_MAX_HATS 4
|
||||
#endif
|
||||
|
||||
#ifndef MAX_USERS
|
||||
#define MAX_USERS 16
|
||||
#endif
|
||||
|
||||
typedef enum menu_action
|
||||
{
|
||||
MENU_ACTION_UP,
|
||||
@ -86,7 +70,7 @@ enum menu_ctl_state
|
||||
MENU_CTL_POINTER_DRAGGING,
|
||||
MENU_CTL_KEYBOARD_DISPLAY,
|
||||
MENU_CTL_KEYBOARD_BUFF_PTR,
|
||||
MENU_CTL_KEYBOARD_LABEL,
|
||||
MENU_CTL_KEYBOARD_LABEL
|
||||
};
|
||||
|
||||
enum mouse_action
|
||||
|
Loading…
x
Reference in New Issue
Block a user