Last week, support was added to Orx for gamepad controller mapping as well as half-axes, analog thresholds and stick/button/trigger controls remapping.
This is made possible by utilizing the SDL Game Controller Database initiative in order to standardize controller sticks and buttons.
What this means for games is that no matter what type of controller you plug in, JOY_LX_1 means the X axis on the Left Stick of the first controller. This is much better than the previous JOY_X_1 which meant the same thing, but no guarantee which stick on your controller this would be. This greatly removes the need for creating a re-mapper screen to your games (though still good for convenience).
An example of use would look like the following. Firstly the config:
[MainInput]
JOY_LX_1 = LeftRight
Then in code:
if (orxInput_IsActive("LeftRight")) {
orxFLOAT x = orxInput_GetValue("LeftRight");
//do something
}
There are a number of joystick tutorials that cover the new features.