This module will allow you to get inputs from Joystick and Gamepads.
If you don't know if your device is a Joystick or a Gamepad, look at the Logger panel and check the messages when plugging in your device. This will tell you how Chataigne detected it.