Hey all. I am wondering if there is a better way to do this.
I have some menus and other stuff that trigger on a keypress (using enter/"A" gamepad button for now). Each menu is in a group that gets opened and closed as needed.
If I don't limit/latch it, the keypress carries through to the next menu so unless you press and release Enter REALLY quickly, you will miss the next menu (selecting w/e option is first selected). This is how I am doing it now:
- I have this at the top, always available (ie, its group is never closed)
Please login to see this attachment.
- Then on keypress:
Please login to see this attachment.
and whatever actions follow (often, destroying the current menu and creating the next one)
This works well for the Enter key, but if I want to limit more keys, I will have to add a neg. "repeat while KEY is pressed" for every single key. Not the end of the world but seems a bit much for something that should be much simpler!
How do you accomplish this in your projects?