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
Does the gamepad work correctly in other applications? I sometimes have to reconnect the controller after using suspend.

You could try to compile this tool, it uses the same SDL2 API to talk to the controller. It should print something like this (the GUID will obviously be different):

% sdl2-jstest -l
Found 1 joystick(s)

Joystick Name:     'Microsoft X-Box 360 pad'
Joystick GUID:     030000005e0400008e02000014010000
Joystick Number:    0
Number of Axes:     6
Number of Buttons: 11
Number of Hats:     1
Number of Balls:    0
GameController:
  Name:    'XInput Controller'
  Mapping: '(null)'


Additionally, sdl2-jstest -g 0 should work and sdl2-jstest -r 0 should make your controller rumble (hint: pick it up before running).

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill