I'm trying to use gamepad_button_value(0,gp_shoulderrb) for the triggers on a gamepad, but it appears to be stuck at -1.
Can anyone provide me with a solution, or practical workaround? I would like to be able to use the triggers.
0 is only returned when neither the left nor the right trigger is pressed. Try going to line 245 of ENIGMAsystem/SHELL/Universal_System/Extensions/XInput/XIgamepad.cpp and adding:
printf("Key pressed: %i\n",button);
before the break and this at line 248 before the return:
Tell us what comes up in a terminal when you run the program (not the ENIGMA console). Also, what platform are you on?