mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 11:03:01 +00:00
Manually pass through Samsung capacitive buttons
This commit is contained in:
parent
9878902a89
commit
fc2f5cfe4d
@ -306,6 +306,11 @@ public class ControllerHandler implements InputManager.InputDeviceListener {
|
||||
context.leftStickDeadzoneRadius = 0.07f;
|
||||
context.rightStickDeadzoneRadius = 0.07f;
|
||||
}
|
||||
// Samsung's face buttons appear as a non-virtual button so we'll classify them as remotes
|
||||
// so the back button gets passed through to exit streaming
|
||||
else if (devName.equals("sec_touchscreen")) {
|
||||
context.isRemote = true;
|
||||
}
|
||||
}
|
||||
|
||||
LimeLog.info("Analog stick deadzone: "+context.leftStickDeadzoneRadius+" "+context.rightStickDeadzoneRadius);
|
||||
|
Loading…
x
Reference in New Issue
Block a user