Here are some example scripts to use the program. When run, it waits for the first screen tap, runs a command and quits. The script it calls should perform an action, such as opening a keyboard and when finished it should re-run the screen-launcher program. Pressing and holding anywhere on screen for longer than one second will quit without running the command.
#!/bin/sh screen-launcher -c "show-my-keyboard.sh &" & command-to-run-my-game... # do not put game in the background, no & after it killall screen-launcher
#!/bin/sh xkbd screen-launcher -c "show-my-keyboard.sh &" &