I wanted to add some fruity goodness (no 5-a-day) to my gamebox setup.
The games in question have no menu or exit buttons but can be exited by pressing esc.
using glovepie = http://glovepie.org/glovepie.php
Tapping the top left corner of the screen will ALT-TAB (this solved my Guess who? issue.. BUT is a little unstable)
Tapping the top right corner of the screen will press ESC (can exit some games EXAMPLE Bullion Bars, Party Games Wintime and Reel King Wintime) - I use SimpleTouch FE so i've had to change the exit on ESC to something else.
Here's the script if anyone's interested
debug=mouse.CursorPos
if (mouse.cursorposx >=975.00) and (mouse.CursorPosY <=50) then
key.escape=true
wait 0.1ms
key.escape=false
mouse.cursorposx = 10.00
endif
if (mouse.cursorposx <=50) and (mouse.CursorPosY <=50) then
key.alt+key.Tab=true
wait 0.1ms
key.Alt+key.Tab=false
mouse.cursorposx = 100.00
endif
hidepie
When you run this the GlovePIE window will vanish automatically to stop this remove 'hidepie' from the end of the script.
If anyone else knows of a better solution please let me know!!
Edit - If the screen resolution is not 1024 x 768 you will need to edit the cursor positions.
Run the script and take note of what the debug box says
Don't forget some games change the resolution!