mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-27 06:20:01 +00:00
Ignore back from goodix_fp device
This commit is contained in:
1 parent
1c725b9dac
commit
06156c4d68
1 file changed
+4
-2
@@ -387,8 +387,10 @@ public class ControllerHandler implements InputManager.InputDeviceListener, UsbD
|
|||||||
context.rightStickDeadzoneRadius = 0.07f;
|
context.rightStickDeadzoneRadius = 0.07f;
|
||||||
}
|
}
|
||||||
// Samsung's face buttons appear as a non-virtual button so we'll explicitly ignore
|
// Samsung's face buttons appear as a non-virtual button so we'll explicitly ignore
|
||||||
// back presses on this device
|
// back presses on this device. The Goodix buttons on the Nokia 6 also appear
|
||||||
else if (devName.equals("sec_touchscreen") || devName.equals("sec_touchkey")) {
|
// non-virtual so we'll ignore those too.
|
||||||
|
else if (devName.equals("sec_touchscreen") || devName.equals("sec_touchkey") ||
|
||||||
|
devName.equals("goodix_fp")) {
|
||||||
context.ignoreBack = true;
|
context.ignoreBack = true;
|
||||||
}
|
}
|
||||||
// The Serval has a couple of unknown buttons that are start and select. It also has
|
// The Serval has a couple of unknown buttons that are start and select. It also has
|
||||||
|
|||||||
Reference in new issue
Block a user