mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-23 00:36:41 +00:00
Fix inverted mouse capture bug
This commit is contained in:
@@ -1129,10 +1129,10 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
|||||||
private void setInputGrabState(boolean grab) {
|
private void setInputGrabState(boolean grab) {
|
||||||
// Grab/ungrab the mouse cursor
|
// Grab/ungrab the mouse cursor
|
||||||
if (grab) {
|
if (grab) {
|
||||||
inputCaptureProvider.disableCapture();
|
inputCaptureProvider.enableCapture();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
inputCaptureProvider.enableCapture();
|
inputCaptureProvider.disableCapture();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Grab/ungrab system keyboard shortcuts
|
// Grab/ungrab system keyboard shortcuts
|
||||||
|
|||||||
Reference in New Issue
Block a user