mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 12:03:02 +00:00
Remove hat flat values
This commit is contained in:
parent
57f98dbb4a
commit
6a27780d56
@ -161,9 +161,6 @@ public class ControllerHandler {
|
|||||||
if (hatXRange != null && hatYRange != null) {
|
if (hatXRange != null && hatYRange != null) {
|
||||||
mapping.hatXAxis = MotionEvent.AXIS_HAT_X;
|
mapping.hatXAxis = MotionEvent.AXIS_HAT_X;
|
||||||
mapping.hatYAxis = MotionEvent.AXIS_HAT_Y;
|
mapping.hatYAxis = MotionEvent.AXIS_HAT_Y;
|
||||||
|
|
||||||
mapping.hatXDeadzone = hatXRange.getFlat();
|
|
||||||
mapping.hatYDeadzone = hatYRange.getFlat();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mapping.leftStickXAxis != -1 && mapping.leftStickYAxis != -1) {
|
if (mapping.leftStickXAxis != -1 && mapping.leftStickYAxis != -1) {
|
||||||
@ -637,8 +634,6 @@ public class ControllerHandler {
|
|||||||
|
|
||||||
public int hatXAxis = -1;
|
public int hatXAxis = -1;
|
||||||
public int hatYAxis = -1;
|
public int hatYAxis = -1;
|
||||||
public float hatXDeadzone;
|
|
||||||
public float hatYDeadzone;
|
|
||||||
|
|
||||||
public boolean isDualShock4;
|
public boolean isDualShock4;
|
||||||
public boolean isXboxController;
|
public boolean isXboxController;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user