mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
XashActivity: fix return value
This commit is contained in:
@@ -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() )
|
||||
|
||||
Reference in New Issue
Block a user