Gamepad X3 Driver

// Get the current state of the controller x3_state_t state; x3_get_state(&state);

Here is a useful guide to mastering the Gamepad X3 Driver and Software. gamepad x3 driver