The rule is you only need one button for gameplay, so I'm pretty sure this is fine. I'm doing a game that does something when you press the button, then something else when you release the button.