Merge pull request #9696 from german77/please_forgive_me_for_this_sin
input_common: Implement turbo buttons
This commit is contained in:
commit
92c5ab33b7
8 changed files with 138 additions and 32 deletions
|
@ -428,6 +428,9 @@ void Controller_NPad::RequestPadStateUpdate(Core::HID::NpadIdType npad_id) {
|
|||
return;
|
||||
}
|
||||
|
||||
// This function is unique to yuzu for the turbo buttons to work properly
|
||||
controller.device->TurboButtonUpdate();
|
||||
|
||||
auto& pad_entry = controller.npad_pad_state;
|
||||
auto& trigger_entry = controller.npad_trigger_state;
|
||||
const auto button_state = controller.device->GetNpadButtons();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue