joystick_force_disabled_set_from_options Command

joystick_force_disabled_set_from_options [0 / 1]

Sets external controllers you've connected to the game enabled or disabled, depending on the command's setting. This command manually changes the selected option for whether controllers are enabled in the game settings, too.


Arguments are parameters that you add to a command. Find information about this command's arguments below.

0 / 1Enter a 1 after this command to enable a controller, and a 0 after the command to disable being able to use controllers.

Extra Info

Sv_cheats Required? No
Client or Server Command? Client
Default Value 1

joystick_force_disabled_set_from_options Examples

Find below working examples of this command (copy and paste into console).

joystick_force_disabled_set_from_options 1

Sets controllers to enabled.

joystick_force_disabled_set_from_options 0

Sets controllers to disabled.