im using the HID plugin with my gamepad....
i have it all set up and it works so far, but theres a tiny problem...i need to push some buttons simultaneously and want it it to work in this way:
push both buttons, let the second go, and by pressing the second again to trigger the both button event again(sorry for my bad english..i hope you understand what i mean)...
the problem is the following....for example:
i have the event hid.button1 and hid.button2...both have a function..maybe button1 maps to fire and button2 maps to jump...and button1+2 is mapped to a special attack...now each time i do the button1+2 event and let go of button.2, the button.1 command gets executed...because when i let go of one of the buttons, the other is recognized as pushed (for example im holding both buttons for the special attack, then let one of the buttons go, so i can push it again and do the special attack fast again by pushing button2 again....)....so i want the button that im holding when i release the other one to be not recognized as pushed...how can i do this??? to make it really clear because of my bad language:
what happens is:
im holding both buttons, event = HID.Button.1+2
i release button2, event = HID.Button.1
i press button2 again,event = HID.Button.1+2
What i want it to have is:
im holding both buttons, event = HID.Button.1+2
i release button2, event = i want nothing to happen here
i press button2 again,event = HID.Button.1+2
anyone knows how to do this...???
thanks for trying understanding this