Jump to content

Controller not detected in linux


Ocelost

Recommended Posts

Don't Starve fails to detect my Logitech Gamepad F310. Other Steam applications detect it just fine, including Mark of the Ninja, Crypt of the Necrodancer, and the Steam Big Picture Mode UI.

 

On a hunch that it might be a problem with the SDL library linked by Don't Starve, I found that the controller is detected if I set the SDL_JOYSTICK_DEVICE environment variable to the current path of the input device. For example, doing this before launching steam:

 

export SDL_JOYSTICK_DEVICE=/dev/input/event11

 

Of course, the device path is not always the same, so always launching with that setting is not a viable workaround.

 

Linux version: Ubuntu 14.04.3 LTS x86_64.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
×
  • Create New...