File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1614,6 +1614,11 @@ void GoldSourceInput::IN_Init (void)
16141614 joy_wwhack1 = gEngfuncs .pfnRegisterVariable ( " joywwhack1" , " 0.0" , 0 );
16151615 joy_wwhack2 = gEngfuncs .pfnRegisterVariable ( " joywwhack2" , " 0.0" , 0 );
16161616
1617+ // HL25 checks this cvar and if it doesn't exist or set to zero
1618+ // it will lock any usage of gamepads
1619+ // see: https://github.com/ValveSoftware/halflife/issues/3621
1620+ gEngfuncs .pfnRegisterVariable ( " joysupported" , 1 , 0 );
1621+
16171622 m_customaccel = gEngfuncs .pfnRegisterVariable ( " m_customaccel" , " 0" , FCVAR_ARCHIVE );
16181623 m_customaccel_scale = gEngfuncs .pfnRegisterVariable ( " m_customaccel_scale" , " 0.04" , FCVAR_ARCHIVE );
16191624 m_customaccel_max = gEngfuncs .pfnRegisterVariable ( " m_customaccel_max" , " 0" , FCVAR_ARCHIVE );
You can’t perform that action at this time.
0 commit comments