mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
(PS3/XDK) Custom bind fixes
This commit is contained in:
parent
cc87f3a08d
commit
72d56f024d
@ -445,7 +445,7 @@ static void* ps3_input_init(void)
|
|||||||
|
|
||||||
static bool ps3_input_key_pressed(void *data, int key)
|
static bool ps3_input_key_pressed(void *data, int key)
|
||||||
{
|
{
|
||||||
return (g_extern.lifecycle_state & (1ULL << key));
|
return (g_extern.lifecycle_state & (1ULL << key)) || input_joypad_pressed(&ps3_joypad, 0, g_settings.input.binds[0], key);
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t ps3_input_get_capabilities(void *data)
|
static uint64_t ps3_input_get_capabilities(void *data)
|
||||||
|
@ -385,7 +385,7 @@ static void *xdk_input_init(void)
|
|||||||
|
|
||||||
static bool xdk_input_key_pressed(void *data, int key)
|
static bool xdk_input_key_pressed(void *data, int key)
|
||||||
{
|
{
|
||||||
return (g_extern.lifecycle_state & (1ULL << key));
|
return (g_extern.lifecycle_state & (1ULL << key)) || input_joypad_pressed(&xdk_joypad, 0, g_settings.input.binds[0], key);
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t xdk_input_get_capabilities(void *data)
|
static uint64_t xdk_input_get_capabilities(void *data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user