engine: client: in_joy: fix engine-level axis rebinding

This commit is contained in:
Alibek Omarov
2026-04-08 09:48:48 +05:00
committed by a1batross
parent 2d241ed96b
commit 4bbe52e3b4

View File

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