diff --git a/src/in/celest/xash3d/XashActivity.java b/src/in/celest/xash3d/XashActivity.java index c3874a2e..4550b5c0 100644 --- a/src/in/celest/xash3d/XashActivity.java +++ b/src/in/celest/xash3d/XashActivity.java @@ -1059,7 +1059,7 @@ class JoystickHandler_v12 extends JoystickHandler // how event can be from null device, Android? final InputDevice device = event.getDevice(); if( device == null ) - return; + return false; // maybe I need to cache this... for( InputDevice.MotionRange range: device.getMotionRanges() )