Hi there,
I recently had this kind of issue.
I use D44X cherry microswitches on my buttons.
Those microswitches have 2 possible plugs to connect to your GPIO.
0_1490687825756_5.jpg
Following a tutorial I found on the internet, I connected them to the plug that is the closest to the button resulting weird behavior (like the buttons were "maintained pressed on" which led to random exit from the games as the hotkey was considered maintained ==> like 2 buttons pushed at the same time.).
I changed the connection to the plug that is the closest to the Ground plug and it solved my issue.
I guess the forum experts might need further info on your configuration to be able to help you :
Which hardware do you use (buttons, sticks, microswitches) ?
When does the issue occur ? Everytime or when you do some identified stuff (while in a game, etc.) ?
And so on...
Note that I'm not an expert, just sharing an experience that could be a possible way of troubleshooting your issue 😉
Good luck with your issue anyway.