mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: in_joy: fix engine-level axis rebinding
This commit is contained in:
@@ -263,6 +263,11 @@ Axis events
|
||||
*/
|
||||
void Joy_AxisMotionEvent( engineAxis_t engineAxis, short value )
|
||||
{
|
||||
if( engineAxis >= JOY_AXIS_NULL )
|
||||
return;
|
||||
|
||||
engineAxis = joyaxesmap[engineAxis];
|
||||
|
||||
if( engineAxis >= JOY_AXIS_NULL )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user