mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fixes
This commit is contained in:
parent
3248d58c4d
commit
fc1b83fd93
1 changed files with 4 additions and 6 deletions
|
@ -680,8 +680,8 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
graphicsContext->ThreadStart();
|
graphicsContext->ThreadStart();
|
||||||
|
|
||||||
float mouseDeltaX;
|
float mouseDeltaX = 0;
|
||||||
float mouseDeltaY;
|
float mouseDeltaY = 0;
|
||||||
bool mouseCaptured = false;
|
bool mouseCaptured = false;
|
||||||
bool windowHidden = false;
|
bool windowHidden = false;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
@ -897,10 +897,8 @@ int main(int argc, char *argv[]) {
|
||||||
input.id = 0;
|
input.id = 0;
|
||||||
NativeTouch(input);
|
NativeTouch(input);
|
||||||
}
|
}
|
||||||
if (g_Config.bMouseControl) {
|
mouseDeltaX = event.motion.xrel;
|
||||||
mouseDeltaX = event.motion.xrel;
|
mouseDeltaY = event.motion.yrel;
|
||||||
mouseDeltaY = event.motion.yrel;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case SDL_MOUSEBUTTONUP:
|
case SDL_MOUSEBUTTONUP:
|
||||||
switch (event.button.button) {
|
switch (event.button.button) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue