1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-28 03:39:59 +00:00
This commit is contained in:
twinaphex 2020-09-05 20:30:33 +02:00
parent 09423bf272
commit e2e9d0fbb6

@ -156,7 +156,8 @@ static void hidpad_ps4_hori_mini_packet_handler(void *data,
(device->data[7] << 4) |
(device->data[8] << 12);
for (i = 0; i < 15; i++) {
for (i = 0; i < 15; i++)
{
device->buttons |= (pressed_keys & (1 << i)) ?
(1 << button_mapping[i]) : 0;
}