mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
(PS3) Fixed analog controls
This commit is contained in:
parent
db00f689c8
commit
2e92640d2b
@ -108,7 +108,7 @@ static int16_t ps3_input_state(void *data, const struct snes_keybind **binds,
|
||||
|
||||
unsigned player = port;
|
||||
uint64_t button = binds[player][id].joykey;
|
||||
int16_t retval = CTRL_MASK(state[player], button);
|
||||
int16_t retval = CTRL_MASK(state[player], button) ? 1 : 0;
|
||||
|
||||
if(player >= pads_connected || device != RETRO_DEVICE_JOYPAD)
|
||||
retval = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user