Android: Don't ignore virtual input devices

This commit is contained in:
Connor McLaughlin 2021-04-11 02:20:57 +10:00
parent 251cffd64e
commit 4786beb0a9
1 changed files with 1 additions and 1 deletions

View File

@ -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.