Use the GameEx Advanced Config Editor written by headkaze when dealing with these files. Makes things so much easier to deal with. A tutorial is going up on this new tool, I just have been sick and haven't got to it yet. It will up early in the week. Open up this tool in GameEx Setup Wizard by clicking on the button next to the dropdown list in the Advanced Config section. Then go to the Game Pad Exit tab and edit as needed. So based off your post it seems you want the following to exit: Left, Up, Button1, Button2, Button3, Button4. If this is correct then you should be able to exit your emulator using these buttons.