Not logged inOpenClonk Forum
Up Topic Gamepad support

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Luchs
Yup. SDL uses a database to map button numbers to their equivalents on the Xbox controller. For example, on your controller, 1 is mapped to Y, 2 to B, and so on. If your controller isn't included in the database, you'll have to create a mapping yourself. The easiest way to do this is by launching Steam's Big Picture mode which will ask you to configure your controller if it isn't supported by SDL. The mapping it creates is then automatically passed to games started with Steam with an environment variable.

It would be interesting to hear whether this actually works - I only have XInput controllers which don't need any mapping (because they only support the Xbox controller layout).

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill