Check for a return value of 3. Essentially the value returned represents a bit value of up to four buttons that an be pressed.
Button 1 = 1
Button 2 = 2
Button 3 = 4
Button 4 = 8
All of these are additive without stepping on the values from the other buttons. If buttons 1 and 3 were pressed it would return 1 + 4 = 5. If buttons 3 and 4 were pressed it would return 4 + 8 = 12.
The problem is if you're looking for button 1 being pressed and the user is pressing 1 and 2. You have to take the returned value
ANDed by a bit mask to check for a specific button.
Lilith, Night Butterfly
I'm not a programmer but I play one in the office