mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
input_overlay.h - cleanup
This commit is contained in:
parent
703479f051
commit
0b098b9301
@ -156,6 +156,16 @@ struct input_overlay
|
|||||||
} deferred;
|
} deferred;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct input_overlay_state
|
||||||
|
{
|
||||||
|
/* This is a bitmask of (1 << key_bind_id). */
|
||||||
|
uint64_t buttons;
|
||||||
|
/* Left X, Left Y, Right X, Right Y */
|
||||||
|
int16_t analog[4];
|
||||||
|
|
||||||
|
uint32_t keys[RETROK_LAST / 32 + 1];
|
||||||
|
} input_overlay_state_t;
|
||||||
|
|
||||||
static input_overlay_t *overlay_ptr;
|
static input_overlay_t *overlay_ptr;
|
||||||
static input_overlay_state_t overlay_st_ptr;
|
static input_overlay_state_t overlay_st_ptr;
|
||||||
|
|
||||||
|
@ -95,16 +95,6 @@ typedef struct overlay_desc overlay_desc_t;
|
|||||||
|
|
||||||
typedef struct input_overlay input_overlay_t;
|
typedef struct input_overlay input_overlay_t;
|
||||||
|
|
||||||
typedef struct input_overlay_state
|
|
||||||
{
|
|
||||||
/* This is a bitmask of (1 << key_bind_id). */
|
|
||||||
uint64_t buttons;
|
|
||||||
/* Left X, Left Y, Right X, Right Y */
|
|
||||||
int16_t analog[4];
|
|
||||||
|
|
||||||
uint32_t keys[RETROK_LAST / 32 + 1];
|
|
||||||
} input_overlay_state_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* input_overlay_new:
|
* input_overlay_new:
|
||||||
* @path : Path to overlay file.
|
* @path : Path to overlay file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user