2014-08-30 03:41:13 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
2017-01-22 13:40:32 +01:00
|
|
|
* Copyright (C) 2011-2017 - Daniel De Matteis
|
2017-11-28 10:04:34 +00:00
|
|
|
*
|
2014-08-30 03:41:13 +02:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2016-09-05 18:31:32 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <retro_inline.h>
|
|
|
|
|
2021-09-28 10:27:00 +02:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "../../config.h"
|
|
|
|
#endif
|
|
|
|
|
2019-07-19 12:55:38 +02:00
|
|
|
#include "../../config.def.h"
|
|
|
|
|
2021-09-28 10:27:00 +02:00
|
|
|
#ifdef HAVE_MENU
|
|
|
|
#include "../../menu/menu_driver.h"
|
|
|
|
#endif
|
|
|
|
|
2016-12-01 20:38:20 +01:00
|
|
|
#include "../../tasks/tasks_internal.h"
|
2014-10-26 01:53:13 +02:00
|
|
|
|
2020-08-03 17:31:22 +02:00
|
|
|
/* TODO/FIXME - static globals */
|
2019-07-19 12:55:38 +02:00
|
|
|
static uint64_t pad_state[DEFAULT_MAX_PADS];
|
2023-02-20 10:10:07 +01:00
|
|
|
static int16_t analog_state[DEFAULT_MAX_PADS][2][2];
|
2019-07-19 12:55:38 +02:00
|
|
|
static uint64_t pads_connected[DEFAULT_MAX_PADS];
|
2014-10-05 17:19:25 +02:00
|
|
|
#if 0
|
2019-07-19 12:55:38 +02:00
|
|
|
sensor_t accelerometer_state[DEFAULT_MAX_PADS];
|
2014-10-05 17:19:25 +02:00
|
|
|
#endif
|
|
|
|
|
2015-03-15 04:52:46 +01:00
|
|
|
static INLINE int16_t convert_u8_to_s16(uint8_t val)
|
2014-10-05 17:19:25 +02:00
|
|
|
{
|
|
|
|
if (val == 0)
|
|
|
|
return -0x7fff;
|
|
|
|
return val * 0x0101 - 0x8000;
|
|
|
|
}
|
|
|
|
|
2014-08-30 03:41:13 +02:00
|
|
|
static const char *ps3_joypad_name(unsigned pad)
|
|
|
|
{
|
2016-12-21 22:27:37 +01:00
|
|
|
return "SixAxis Controller";
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
2015-04-06 03:21:40 +02:00
|
|
|
static void ps3_joypad_autodetect_add(unsigned autoconf_pad)
|
|
|
|
{
|
2019-07-16 15:28:22 +02:00
|
|
|
input_autoconfigure_connect(
|
|
|
|
ps3_joypad_name(autoconf_pad),
|
|
|
|
NULL,
|
|
|
|
ps3_joypad.ident,
|
|
|
|
autoconf_pad,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
);
|
2015-04-06 03:21:40 +02:00
|
|
|
}
|
|
|
|
|
2020-09-22 02:30:47 +02:00
|
|
|
static void *ps3_joypad_init(void *data)
|
2014-08-30 03:41:13 +02:00
|
|
|
{
|
2020-12-20 16:41:44 +01:00
|
|
|
ioPadInit(DEFAULT_MAX_PADS);
|
2014-10-05 17:19:25 +02:00
|
|
|
|
2020-09-22 02:30:47 +02:00
|
|
|
return (void*)-1;
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
2021-08-08 21:48:19 +02:00
|
|
|
static int32_t ps3_joypad_button(unsigned port, uint16_t joykey)
|
2014-08-30 03:41:13 +02:00
|
|
|
{
|
2020-07-19 03:18:12 +02:00
|
|
|
if (port >= DEFAULT_MAX_PADS)
|
2020-07-18 18:07:57 +02:00
|
|
|
return 0;
|
2020-07-19 03:18:12 +02:00
|
|
|
return pad_state[port] & (UINT64_C(1) << joykey);
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
2018-04-08 20:21:12 +02:00
|
|
|
static void ps3_joypad_get_buttons(unsigned port_num, input_bits_t *state)
|
2015-02-15 01:57:29 +01:00
|
|
|
{
|
2023-02-20 10:46:28 +01:00
|
|
|
if (port_num < DEFAULT_MAX_PADS)
|
2017-12-05 09:22:33 +01:00
|
|
|
{
|
2023-02-20 10:46:28 +01:00
|
|
|
BITS_COPY16_PTR( state, pad_state[port_num] );
|
|
|
|
}
|
2017-12-05 09:22:33 +01:00
|
|
|
else
|
2023-02-20 10:46:28 +01:00
|
|
|
BIT256_CLEAR_ALL_PTR(state);
|
2015-02-15 01:57:29 +01:00
|
|
|
}
|
|
|
|
|
2020-07-19 03:18:12 +02:00
|
|
|
static int16_t ps3_joypad_axis_state(unsigned port, uint32_t joyaxis)
|
2014-08-30 03:41:13 +02:00
|
|
|
{
|
|
|
|
if (AXIS_NEG_GET(joyaxis) < 4)
|
|
|
|
{
|
2023-02-19 19:05:32 +01:00
|
|
|
int16_t val = 0;
|
|
|
|
int16_t axis = AXIS_NEG_GET(joyaxis);
|
|
|
|
switch (axis)
|
|
|
|
{
|
|
|
|
case 0:
|
|
|
|
case 1:
|
|
|
|
val = analog_state[port][0][axis];
|
|
|
|
break;
|
|
|
|
case 2:
|
|
|
|
case 3:
|
|
|
|
val = analog_state[port][1][axis - 2];
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (val < 0)
|
|
|
|
return val;
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
else if (AXIS_POS_GET(joyaxis) < 4)
|
|
|
|
{
|
2023-02-19 19:05:32 +01:00
|
|
|
int16_t val = 0;
|
|
|
|
int16_t axis = AXIS_POS_GET(joyaxis);
|
|
|
|
switch (axis)
|
|
|
|
{
|
|
|
|
case 0:
|
|
|
|
case 1:
|
|
|
|
val = analog_state[port][0][axis];
|
|
|
|
break;
|
|
|
|
case 2:
|
|
|
|
case 3:
|
|
|
|
val = analog_state[port][1][axis - 2];
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (val > 0)
|
|
|
|
return val;
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
2023-02-19 19:05:32 +01:00
|
|
|
return 0;
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
2020-07-19 03:18:12 +02:00
|
|
|
static int16_t ps3_joypad_axis(unsigned port, uint32_t joyaxis)
|
|
|
|
{
|
|
|
|
if (port >= DEFAULT_MAX_PADS)
|
|
|
|
return 0;
|
|
|
|
return ps3_joypad_axis_state(port, joyaxis);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int16_t ps3_joypad_state(
|
|
|
|
rarch_joypad_info_t *joypad_info,
|
|
|
|
const struct retro_keybind *binds,
|
|
|
|
unsigned port)
|
|
|
|
{
|
|
|
|
int16_t ret = 0;
|
2020-07-29 05:31:23 +02:00
|
|
|
uint16_t port_idx = joypad_info->joy_idx;
|
2020-07-19 03:18:12 +02:00
|
|
|
|
2023-02-20 10:46:28 +01:00
|
|
|
if (port_idx < DEFAULT_MAX_PADS)
|
2020-07-19 03:18:12 +02:00
|
|
|
{
|
2023-02-20 10:46:28 +01:00
|
|
|
unsigned i;
|
|
|
|
for (i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++)
|
|
|
|
{
|
|
|
|
/* Auto-binds are per joypad, not per user. */
|
|
|
|
const uint64_t joykey = (binds[i].joykey != NO_BTN)
|
|
|
|
? binds[i].joykey : joypad_info->auto_binds[i].joykey;
|
|
|
|
const uint32_t joyaxis = (binds[i].joyaxis != AXIS_NONE)
|
|
|
|
? binds[i].joyaxis : joypad_info->auto_binds[i].joyaxis;
|
|
|
|
if (
|
2020-07-19 03:18:12 +02:00
|
|
|
(uint16_t)joykey != NO_BTN
|
2023-02-20 10:46:28 +01:00
|
|
|
&& pad_state[port_idx] & (UINT64_C(1) << (uint16_t)joykey)
|
|
|
|
)
|
|
|
|
ret |= ( 1 << i);
|
|
|
|
else if (joyaxis != AXIS_NONE &&
|
|
|
|
((float)abs(ps3_joypad_axis_state(port_idx, joyaxis))
|
|
|
|
/ 0x8000) > joypad_info->axis_threshold)
|
|
|
|
ret |= (1 << i);
|
|
|
|
}
|
2020-07-19 03:18:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2014-08-30 03:41:13 +02:00
|
|
|
static void ps3_joypad_poll(void)
|
|
|
|
{
|
2014-10-05 17:19:25 +02:00
|
|
|
unsigned port;
|
2020-12-20 16:41:44 +01:00
|
|
|
padInfo2 pad_info;
|
2014-10-05 17:19:25 +02:00
|
|
|
|
2020-12-20 16:41:44 +01:00
|
|
|
ioPadGetInfo2(&pad_info);
|
2015-04-06 03:21:40 +02:00
|
|
|
|
2019-07-19 12:55:38 +02:00
|
|
|
for (port = 0; port < DEFAULT_MAX_PADS; port++)
|
2014-10-05 17:19:25 +02:00
|
|
|
{
|
2023-02-20 10:46:28 +01:00
|
|
|
int i, j;
|
2020-12-20 16:41:44 +01:00
|
|
|
padData state_tmp;
|
2015-04-06 03:50:54 +02:00
|
|
|
|
|
|
|
if (pad_info.port_status[port] & CELL_PAD_STATUS_ASSIGN_CHANGES)
|
|
|
|
{
|
|
|
|
if ( (pad_info.port_status[port] & CELL_PAD_STATUS_CONNECTED) == 0 )
|
|
|
|
{
|
2016-12-01 18:52:34 +01:00
|
|
|
input_autoconfigure_disconnect(port, ps3_joypad.ident);
|
2015-04-06 03:50:54 +02:00
|
|
|
pads_connected[port] = 0;
|
|
|
|
}
|
|
|
|
else if ((pad_info.port_status[port] & CELL_PAD_STATUS_CONNECTED) > 0 )
|
|
|
|
{
|
|
|
|
pads_connected[port] = 1;
|
|
|
|
ps3_joypad_autodetect_add(port);
|
|
|
|
}
|
|
|
|
}
|
2017-11-28 10:04:34 +00:00
|
|
|
|
2015-04-06 03:50:54 +02:00
|
|
|
if (pads_connected[port] == 0)
|
|
|
|
continue;
|
|
|
|
|
2020-12-20 16:41:44 +01:00
|
|
|
ioPadGetData(port, &state_tmp);
|
2014-10-05 17:19:25 +02:00
|
|
|
|
|
|
|
if (state_tmp.len != 0)
|
|
|
|
{
|
|
|
|
uint64_t *state_cur = &pad_state[port];
|
|
|
|
*state_cur = 0;
|
2015-07-12 07:53:46 +02:00
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_LEFT) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_LEFT) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_DOWN) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_DOWN) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_RIGHT) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_RIGHT) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_UP) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_UP) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_START) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_START) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_R3) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_R3) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_L3) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_L3) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL1] & CELL_PAD_CTRL_SELECT) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_SELECT) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_TRIANGLE) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_X) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_SQUARE) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_Y) : 0;
|
2014-10-05 17:19:25 +02:00
|
|
|
|
2021-09-28 10:27:00 +02:00
|
|
|
#ifdef HAVE_MENU
|
2022-10-08 22:52:18 +02:00
|
|
|
if (menu_state_get_ptr()->flags & MENU_ST_FLAG_ALIVE)
|
2014-10-05 17:19:25 +02:00
|
|
|
{
|
|
|
|
int value = 0;
|
|
|
|
if (cellSysutilGetSystemParamInt(CELL_SYSUTIL_SYSTEMPARAM_ID_ENTER_BUTTON_ASSIGN, &value) == 0)
|
|
|
|
{
|
|
|
|
if (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_CROSS)
|
2015-07-12 07:53:46 +02:00
|
|
|
*state_cur |= (value == CELL_SYSUTIL_ENTER_BUTTON_ASSIGN_CROSS) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_A) : (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_B);
|
2014-10-05 17:19:25 +02:00
|
|
|
if (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_CIRCLE)
|
2015-07-12 07:53:46 +02:00
|
|
|
*state_cur |= (value == CELL_SYSUTIL_ENTER_BUTTON_ASSIGN_CIRCLE) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_A) : (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_B);
|
2014-10-05 17:19:25 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
2021-09-28 10:27:00 +02:00
|
|
|
#endif
|
2014-10-05 17:19:25 +02:00
|
|
|
{
|
2015-07-12 07:53:46 +02:00
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_CROSS) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_B) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_CIRCLE) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_A) : 0;
|
2014-10-05 17:19:25 +02:00
|
|
|
}
|
2015-07-12 07:53:46 +02:00
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_R1) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_R) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_L1) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_L) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_R2) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_R2) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_L2) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_L2) : 0;
|
|
|
|
*state_cur |= (state_tmp.button[CELL_PAD_BTN_OFFSET_DIGITAL2] & CELL_PAD_CTRL_L2) ? (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_L2) : 0;
|
2014-10-05 17:19:25 +02:00
|
|
|
uint8_t lsx = (uint8_t)(state_tmp.button[CELL_PAD_BTN_OFFSET_ANALOG_LEFT_X]);
|
|
|
|
uint8_t lsy = (uint8_t)(state_tmp.button[CELL_PAD_BTN_OFFSET_ANALOG_LEFT_Y]);
|
|
|
|
uint8_t rsx = (uint8_t)(state_tmp.button[CELL_PAD_BTN_OFFSET_ANALOG_RIGHT_X]);
|
|
|
|
uint8_t rsy = (uint8_t)(state_tmp.button[CELL_PAD_BTN_OFFSET_ANALOG_RIGHT_Y]);
|
|
|
|
analog_state[port][RETRO_DEVICE_INDEX_ANALOG_LEFT ][RETRO_DEVICE_ID_ANALOG_X] = convert_u8_to_s16(lsx);
|
|
|
|
analog_state[port][RETRO_DEVICE_INDEX_ANALOG_LEFT ][RETRO_DEVICE_ID_ANALOG_Y] = convert_u8_to_s16(lsy);
|
|
|
|
analog_state[port][RETRO_DEVICE_INDEX_ANALOG_RIGHT][RETRO_DEVICE_ID_ANALOG_X] = convert_u8_to_s16(rsx);
|
|
|
|
analog_state[port][RETRO_DEVICE_INDEX_ANALOG_RIGHT][RETRO_DEVICE_ID_ANALOG_Y] = convert_u8_to_s16(rsy);
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
accelerometer_state[port].x = state_tmp.button[CELL_PAD_BTN_OFFSET_SENSOR_X];
|
|
|
|
accelerometer_state[port].y = state_tmp.button[CELL_PAD_BTN_OFFSET_SENSOR_Y];
|
|
|
|
accelerometer_state[port].z = state_tmp.button[CELL_PAD_BTN_OFFSET_SENSOR_Z];
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2023-02-20 10:46:28 +01:00
|
|
|
for (i = 0; i < 2; i++)
|
|
|
|
for (j = 0; j < 2; j++)
|
2014-10-05 17:19:25 +02:00
|
|
|
if (analog_state[port][i][j] == -0x8000)
|
|
|
|
analog_state[port][i][j] = -0x7fff;
|
|
|
|
}
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool ps3_joypad_query_pad(unsigned pad)
|
|
|
|
{
|
2015-01-05 01:58:00 +01:00
|
|
|
return pad < MAX_USERS && pad_state[pad];
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
2014-10-05 18:29:22 +02:00
|
|
|
static bool ps3_joypad_rumble(unsigned pad,
|
|
|
|
enum retro_rumble_effect effect, uint16_t strength)
|
|
|
|
{
|
|
|
|
CellPadActParam params;
|
|
|
|
|
|
|
|
switch (effect)
|
|
|
|
{
|
|
|
|
case RETRO_RUMBLE_WEAK:
|
|
|
|
if (strength > 1)
|
|
|
|
strength = 1;
|
|
|
|
params.motor[0] = strength;
|
|
|
|
break;
|
|
|
|
case RETRO_RUMBLE_STRONG:
|
|
|
|
if (strength > 255)
|
|
|
|
strength = 255;
|
|
|
|
params.motor[1] = strength;
|
|
|
|
break;
|
2023-02-20 15:33:54 +01:00
|
|
|
case RETRO_RUMBLE_DUMMY:
|
|
|
|
default:
|
|
|
|
break;
|
2014-10-05 18:29:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
cellPadSetActDirect(pad, ¶ms);
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
2014-08-30 03:41:13 +02:00
|
|
|
|
|
|
|
static void ps3_joypad_destroy(void)
|
|
|
|
{
|
2020-12-20 16:41:44 +01:00
|
|
|
ioPadEnd();
|
2014-08-30 03:41:13 +02:00
|
|
|
}
|
|
|
|
|
2015-04-14 21:58:39 +02:00
|
|
|
input_device_driver_t ps3_joypad = {
|
2014-08-30 03:41:13 +02:00
|
|
|
ps3_joypad_init,
|
|
|
|
ps3_joypad_query_pad,
|
|
|
|
ps3_joypad_destroy,
|
|
|
|
ps3_joypad_button,
|
2020-07-19 03:18:12 +02:00
|
|
|
ps3_joypad_state,
|
2015-02-15 01:57:29 +01:00
|
|
|
ps3_joypad_get_buttons,
|
2014-08-30 03:41:13 +02:00
|
|
|
ps3_joypad_axis,
|
|
|
|
ps3_joypad_poll,
|
2014-10-05 18:29:22 +02:00
|
|
|
ps3_joypad_rumble,
|
2021-09-04 16:29:54 +02:00
|
|
|
NULL,
|
2014-08-30 03:41:13 +02:00
|
|
|
ps3_joypad_name,
|
|
|
|
"ps3",
|
|
|
|
};
|