mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(360) Build fix
This commit is contained in:
parent
bf9980d8bc
commit
6bc690b774
@ -26,6 +26,8 @@
|
|||||||
#include "../libretro.h"
|
#include "../libretro.h"
|
||||||
#include "xinput_360_input.h"
|
#include "xinput_360_input.h"
|
||||||
|
|
||||||
|
#include "../console/retroarch_console.h"
|
||||||
|
|
||||||
static uint64_t state[MAX_PADS];
|
static uint64_t state[MAX_PADS];
|
||||||
static unsigned pads_connected;
|
static unsigned pads_connected;
|
||||||
|
|
||||||
@ -110,8 +112,6 @@ static void xinput_input_free_input(void *data)
|
|||||||
(void)data;
|
(void)data;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../console/retroarch_console.h"
|
|
||||||
|
|
||||||
static void xinput_input_set_analog_dpad_mapping(unsigned map_dpad_enum, unsigned controller_id)
|
static void xinput_input_set_analog_dpad_mapping(unsigned map_dpad_enum, unsigned controller_id)
|
||||||
{
|
{
|
||||||
switch(map_dpad_enum)
|
switch(map_dpad_enum)
|
||||||
@ -145,7 +145,7 @@ static void* xinput_input_init(void)
|
|||||||
static void xinput_input_post_init(void)
|
static void xinput_input_post_init(void)
|
||||||
{
|
{
|
||||||
for(unsigned i = 0; i < MAX_PADS; i++)
|
for(unsigned i = 0; i < MAX_PADS; i++)
|
||||||
xinput_input_analog_pad_mapping(g_settings.input.dpad_emulation[i], i);
|
xinput_input_set_analog_dpad_mapping(g_settings.input.dpad_emulation[i], i);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool xinput_input_key_pressed(void *data, int key)
|
static bool xinput_input_key_pressed(void *data, int key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user