Thanks for the help EHaskins. Now I am able to use all 6 gamepads that I need. Right now, whenever I press a certain button a counter on an integer goes up by one and is displayed on a label like this:
Code:
if (buttons[0])
{
basketsAttempted++;
}
The problem I am facing now is that I want to be able to decrease the value of the integer by one when i push the left bumper and a certain button like this:
Code:
if (buttons[4] & buttons[0])
{
basketsAttempted--;
}
If i try to use the same button and left bumper to decrease the value, it will not decrease. It only decreases if you use the left bumper and any other button but the one you used to increase it. Is there a way to use the same button and left bumper to decrease the value?