I kind of figured out the reason the triggers only work as digital, it seems is related to the joypad driver, I changed the default XINPUT to SDL2 and the brake was configured to right stick, the controller I’m using is original DS3 and a message popped up indicating it is a DS3 controller connected and not a Motioninjoy (Windows interfase for DS3) controller anymore as when the joypad driver was XINPUT.
Does anyone know what the axes to configure for the DS3 controller since I can select the one I want, this is the configuration used.
Left stick(left) AXIS X-
Left stick(right) AXIS X+
Left stick(up) AXIS Y+
Left stick(down) AXIS Y-
Right stick(left) AXIS RX-
Right stick(right) AXIS RX+
Right stick(up) AXIS RY+
Right stick(down) AXIS RY-
Left Trigger (L2) AXIS Z+
Right Trigger (R2) AXIS RZ-
The brake only worked as analog when I changed the driver from XINPUT to SDL2 and did’t bind none of buttons at all.