mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Cleanups
This commit is contained in:
parent
449f8dff8e
commit
8ab1d7f8ec
@ -39,9 +39,11 @@
|
||||
#include "../../verbosity.h"
|
||||
#include "dinput_joypad.h"
|
||||
|
||||
/* TODO/FIXME - globals */
|
||||
struct dinput_joypad_data g_pads[MAX_USERS];
|
||||
unsigned g_joypad_cnt;
|
||||
|
||||
/* TODO/FIXME - static globals */
|
||||
static struct dinput_joypad_data g_pads[MAX_USERS];
|
||||
static unsigned g_joypad_cnt;
|
||||
static unsigned g_last_xinput_pad_idx;
|
||||
|
||||
/* Forward declarations */
|
||||
|
@ -36,10 +36,11 @@
|
||||
#include "../../verbosity.h"
|
||||
#include "dinput_joypad.h"
|
||||
|
||||
/* TODO/FIXME - static globals */
|
||||
static struct dinput_joypad_data g_pads[MAX_USERS];
|
||||
static unsigned g_joypad_cnt;
|
||||
/* TODO/FIXME - globals */
|
||||
struct dinput_joypad_data g_pads[MAX_USERS];
|
||||
unsigned g_joypad_cnt;
|
||||
|
||||
/* TODO/FIXME - forward declaration */
|
||||
extern LPDIRECTINPUT8 g_dinput_ctx;
|
||||
|
||||
#include "dinput_joypad_inl.h"
|
||||
|
@ -23,6 +23,10 @@
|
||||
#include <retro_common_api.h>
|
||||
|
||||
/* Forward declaration */
|
||||
extern struct dinput_joypad_data g_pads[MAX_USERS];
|
||||
extern unsigned g_joypad_cnt;
|
||||
|
||||
/* Function prototype forward declarations */
|
||||
void dinput_destroy_context(void);
|
||||
bool dinput_init_context(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user