diff --git a/input/drivers/dinput.c b/input/drivers/dinput.c index 03fdbf1005..77a08e51f1 100644 --- a/input/drivers/dinput.c +++ b/input/drivers/dinput.c @@ -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; diff --git a/input/drivers_joypad/dinput_joypad_inl.h b/input/drivers_joypad/dinput_joypad_inl.h index f1a8bc895c..5a78e3ac5e 100644 --- a/input/drivers_joypad/dinput_joypad_inl.h +++ b/input/drivers_joypad/dinput_joypad_inl.h @@ -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;