Android: Don't ignore virtual input devices

This commit is contained in:
Connor McLaughlin committed 2021-04-11 02:21:37 +10:00
1 parent 251cffd64e
commit 4786beb0a9
1 file changed
+1 -1
@@ -26,7 +26,7 @@ public class EmulationSurfaceView extends SurfaceView {
} }
public static boolean isBindableDevice(InputDevice inputDevice) { public static boolean isBindableDevice(InputDevice inputDevice) {
if (inputDevice == null || inputDevice.isVirtual()) if (inputDevice == null)
return false; return false;
// Accept all devices with an axis or buttons, filter in events. // Accept all devices with an axis or buttons, filter in events.