mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-09 09:48:43 +00:00
Update touch API
This commit is contained in:
parent
9764174070
commit
05fd7b18b9
2 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,8 @@ void SdlInputHandler::handleAbsoluteFingerEvent(SDL_TouchFingerEvent* event)
|
|||
}
|
||||
|
||||
// Try to send it as a native touch event, otherwise fall back to our touch emulation
|
||||
if (LiSendTouchEvent(eventType, pointerId, vidrelx / dst.w, vidrely / dst.h, event->pressure) == LI_ERR_UNSUPPORTED) {
|
||||
if (LiSendTouchEvent(eventType, pointerId, vidrelx / dst.w, vidrely / dst.h, event->pressure,
|
||||
0.0f, 0.0f, LI_ROT_UNKNOWN) == LI_ERR_UNSUPPORTED) {
|
||||
emulateAbsoluteFingerEvent(event);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 27428e655ba7f7b2367c512cbc72c40e04e5e751
|
||||
Subproject commit 70a2e305bc7170eccbd48d8c49b64a814e64ecb7
|
Loading…
Reference in a new issue