mirror of
https://github.com/libretro/RetroArch.git
synced 2025-03-03 07:18:56 +00:00
Move these globals out of dinput.c and into dinput_joypad_inl.h
This commit is contained in:
parent
b5e0f7edfd
commit
b171f35836
@ -51,14 +51,6 @@
|
||||
#include "../../retroarch.h"
|
||||
#include "../../verbosity.h"
|
||||
|
||||
/* Keep track of which pad indexes are 360 controllers.
|
||||
* Not static, will be read in xinput_joypad.c
|
||||
* -1 = not xbox pad, otherwise 0..3
|
||||
*/
|
||||
|
||||
int g_xinput_pad_indexes[MAX_USERS];
|
||||
bool g_xinput_block_pads;
|
||||
|
||||
/* Context has to be global as joypads also ride on this context. */
|
||||
LPDIRECTINPUT8 g_dinput_ctx;
|
||||
|
||||
|
@ -25,6 +25,14 @@
|
||||
/* Forward declaration */
|
||||
void dinput_destroy_context(void);
|
||||
|
||||
/* Keep track of which pad indexes are 360 controllers.
|
||||
* Not static, will be read in xinput_joypad.c
|
||||
* -1 = not xbox pad, otherwise 0..3
|
||||
*/
|
||||
|
||||
int g_xinput_pad_indexes[MAX_USERS];
|
||||
bool g_xinput_block_pads;
|
||||
|
||||
static void dinput_joypad_destroy(void)
|
||||
{
|
||||
unsigned i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user