HID: Complete refactor of pad/touch input to fix threading issues.
This commit is contained in:
parent
953e09ddb5
commit
d61b26b79f
7 changed files with 109 additions and 204 deletions
|
@ -14,6 +14,7 @@
|
|||
#include "core/hle/hle.h"
|
||||
#include "core/hle/service/gsp_gpu.h"
|
||||
#include "core/hle/service/dsp_dsp.h"
|
||||
#include "core/hle/service/hid/hid.h"
|
||||
|
||||
#include "core/hw/gpu.h"
|
||||
|
||||
|
@ -294,6 +295,9 @@ static void VBlankCallback(u64 userdata, int cycles_late) {
|
|||
// this. Certain games expect this to be periodically signaled.
|
||||
DSP_DSP::SignalInterrupt();
|
||||
|
||||
// Check for user input updates
|
||||
Service::HID::HIDUpdate();
|
||||
|
||||
// Reschedule recurrent event
|
||||
CoreTiming::ScheduleEvent(frame_ticks - cycles_late, vblank_event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue