mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-04 06:56:06 +00:00
Retransmit OSC gamepad packets every 100 ms to recover from dropped events in GFE
This commit is contained in:
@@ -406,6 +406,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
||||
(FrameLayout)streamView.getParent(),
|
||||
this);
|
||||
virtualController.refreshLayout();
|
||||
virtualController.show();
|
||||
}
|
||||
|
||||
if (prefConfig.usbDriver) {
|
||||
@@ -692,6 +693,10 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
||||
SpinnerDialog.closeDialogs(this);
|
||||
Dialog.closeDialogs();
|
||||
|
||||
if (virtualController != null) {
|
||||
virtualController.hide();
|
||||
}
|
||||
|
||||
if (conn != null) {
|
||||
int videoFormat = decoderRenderer.getActiveVideoFormat();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user