1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Fix duplicate inputs for GHLtar strumming

This commit is contained in:
InvoxiPlayGames 2020-03-01 01:12:03 +00:00 committed by Ivan
parent 582c98359e
commit 752c4a7b0d

View File

@ -161,13 +161,11 @@ void usb_device_ghltar::interrupt_transfer(u32 buf_size, u8* buf, u32 endpoint,
pad->m_press_down = button.m_value;
if (button.m_pressed)
buf[4] = 0xFF; // Strum Down
buf[2] = 0x04; // Down D-Pad (Unused)
break;
case CELL_PAD_CTRL_UP:
pad->m_press_up = button.m_value;
if (button.m_pressed)
buf[4] = 0x00; // Strum Up
buf[2] = 0x00; // Up D-Pad (Unused)
break;
case CELL_PAD_CTRL_LEFT:
pad->m_press_down = button.m_value;