From 4786beb0a93608f4d95821eb8cc0dea40ed0a8dc Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 11 Apr 2021 02:20:57 +1000 Subject: [PATCH] Android: Don't ignore virtual input devices --- .../com/github/stenzek/duckstation/EmulationSurfaceView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/java/com/github/stenzek/duckstation/EmulationSurfaceView.java b/android/app/src/main/java/com/github/stenzek/duckstation/EmulationSurfaceView.java index e88a64941..47100afd9 100644 --- a/android/app/src/main/java/com/github/stenzek/duckstation/EmulationSurfaceView.java +++ b/android/app/src/main/java/com/github/stenzek/duckstation/EmulationSurfaceView.java @@ -26,7 +26,7 @@ public class EmulationSurfaceView extends SurfaceView { } public static boolean isBindableDevice(InputDevice inputDevice) { - if (inputDevice == null || inputDevice.isVirtual()) + if (inputDevice == null) return false; // Accept all devices with an axis or buttons, filter in events.