Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys_usbd: Fix duplicate inputs for GHLtar strumming #7649

Merged
merged 1 commit into from Mar 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions rpcs3/Emu/Io/GHLtar.cpp
Expand Up @@ -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;
Expand Down