[mythtv-users] Mythgame Control

Brad DerManouelian 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
>> remote
>> control keys work.
>> Thanks.
>
> Edit ~/.lircrc and add:
>
> begin
> prog = zsnes
> button = Exit #(or whatever key on the remote you want)
> config = ESC #(or whatever key exits the emulator)
> end

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:

begin
prog = irexec
button = Exit #(or whatever key on the remote you want)
config = /usr/local/bin/killzsnes.sh
end

Then make sure irexec is runs at startup and your killzsnes.sh script  
does what you want.


More information about the mythtv-users mailing list