[mythtv-users] Mythgame Control
myth at dermanouelian.com
Thu Aug 28 04:37:39 UTC 2008
On Aug 27, 2008, at 9:23 PM, Brad DerManouelian wrote:
>> You need to map a key in lirc.
>> Any idea how to do that? When I'm in the zsnes screen, none of the
>> control keys work.
> Edit ~/.lircrc and add:
> prog = zsnes
> button = Exit #(or whatever key on the remote you want)
> config = ESC #(or whatever key exits the emulator)
I just realized that zsnes might not have lirc support. In that case,
you need to do what the other person suggested. Write a script to
check to see if it's running and kill it if it is and then use irexec
to execute the script when a key is pressed:
prog = irexec
button = Exit #(or whatever key on the remote you want)
config = /usr/local/bin/killzsnes.sh
Then make sure irexec is runs at startup and your killzsnes.sh script
does what you want.
More information about the mythtv-users