[mythtv-users] Hauppauge remote question

Michael Lynch lynchmv at gmail.com
Mon Feb 19 01:59:45 UTC 2007


On 2/18/07, Jim Butler <jtbutler78 at comcast.net> wrote:
> Once I am in mythgame I cannot exit it without using my keyboard.  How can I
> map a button on the remote to the escape key?  I tried this and several
> different versions but no luck.
>
> begin
>     prog = irxevent
>     button = BACK/EXIT
>     repeat = 3
>     config = Key Escape CurrentWindow
> end
>
>

This works for me (you will need to change the button name to match yours):

==========================================
## MythGame exit
begin
prog = irexec
button = RIGHTMOUSE
repeat = 4
config = /sbin/killgame.sh
end

root at mythbed:~# cat /sbin/killgame.sh
#!/bin/bash
killall -9 xe

==========================================

Now, I only use xe for playing games, but you could also add the line
relevant for your emulator, such as:

killall -9 znes


More information about the mythtv-users mailing list