input_overlay.h - cleanup

This commit is contained in:
twinaphex 2015-09-06 03:25:57 +02:00
parent 703479f051
commit 0b098b9301
2 changed files with 10 additions and 10 deletions

View File

@ -156,6 +156,16 @@ struct input_overlay
} 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_state_t overlay_st_ptr;

View File

@ -95,16 +95,6 @@ typedef struct overlay_desc overlay_desc_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:
* @path : Path to overlay file.