mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
[Emulator] Handle left click
This commit is contained in:
parent
f9f34d564f
commit
5200c10b27
4 changed files with 90 additions and 47 deletions
|
@ -25,6 +25,7 @@ void HIDService::reset() {
|
|||
accelerometerEnabled = false;
|
||||
eventsInitialized = false;
|
||||
gyroEnabled = false;
|
||||
touchScreenPressed = false;
|
||||
|
||||
// Deinitialize HID events
|
||||
for (auto& e : events) {
|
||||
|
@ -36,6 +37,7 @@ void HIDService::reset() {
|
|||
// Reset button states
|
||||
newButtons = oldButtons = 0;
|
||||
circlePadX = circlePadY = 0;
|
||||
touchScreenX = touchScreenY = 0;
|
||||
}
|
||||
|
||||
void HIDService::handleSyncRequest(u32 messagePointer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue