(PS3) Fixes input - turbo key shenanigans

This commit is contained in:
twinaphex 2013-11-02 01:25:25 +01:00
parent 7be9b2df18
commit 0597b6e7c8

View File

@ -57,6 +57,7 @@ const struct platform_bind platform_keys[] = {
{ (1ULL << RETRO_DEVICE_ID_JOYPAD_R2), "R2 button" }, { (1ULL << RETRO_DEVICE_ID_JOYPAD_R2), "R2 button" },
{ (1ULL << RETRO_DEVICE_ID_JOYPAD_L3), "L3 button" }, { (1ULL << RETRO_DEVICE_ID_JOYPAD_L3), "L3 button" },
{ (1ULL << RETRO_DEVICE_ID_JOYPAD_R3), "R3 button" }, { (1ULL << RETRO_DEVICE_ID_JOYPAD_R3), "R3 button" },
{ (1ULL << RARCH_TURBO_ENABLE), "Turbo button (unmapped)" },
}; };
typedef struct ps3_input typedef struct ps3_input
@ -356,7 +357,6 @@ static void ps3_input_set_keybinds(void *data, unsigned device,
static void* ps3_input_init(void) static void* ps3_input_init(void)
{ {
unsigned i;
ps3_input_t *ps3 = (ps3_input_t*)calloc(1, sizeof(*ps3)); ps3_input_t *ps3 = (ps3_input_t*)calloc(1, sizeof(*ps3));
if (!ps3) if (!ps3)
return NULL; return NULL;