[mythtv-users] Native Linux games on MythTV
Paul W. Smith
cvpsmith at ncche.olemiss.edu
Wed Apr 14 14:24:27 EDT 2004
On Wednesday 14 April 2004 12:42 pm, Robert Rozman wrote:
> Hi,
>
> can you play original linux games with lirc remote out of the box? If not,
> what should be done ?
>
> If someone is using those games, please contribute your experiences. Why
> not use games that are already there ?
>
> Regards,
>
> Robert.
You have to set up the remote for each specific game. For example, I use the
irxevent and start it up with everything else in /etc/X11/xinit/xinitrc:
# start some nice programs
/usr/bin/irxevent /home/mythuser/games.lircrc &
# fluxbox & wmpid=$!
mtd -d &
mythfrontend &
fluxbox wmpid=$!
wait $wmpid
Then, from the irxevent line above, create a file called games.lircrc like so:
# games.lircrc
# Frozen Bubble Setup
# Channel Up
begin
prog = irxevent
button = CH+
repeat = 3
config = Key Up Frozen-Bubble
end
# Channel Down
begin
prog = irxevent
button = CH-
repeat = 3
config = Key Down Frozen-Bubble
end
# OK/Select
begin
prog = irxevent
button = OK
config = Key Return Frozen-Bubble
end
# Escape/Exit/Back
begin
prog = irxevent
button = BACK/EXIT
config = Key Escape Frozen-Bubble
end
# Pause
begin
prog = irxevent
button = PAUSE
repeat = 0
config = Key P Frozen-Bubble
end
# Mute
begin
prog = irxevent
button = MUTE
repeat = 0
config = Key F9 Frozen-Bubble
end
# Scroll up
begin
prog = irxevent
button = VOL+
repeat = 1
config = Key Right Frozen-Bubble
end
# Scroll down
begin
prog = irxevent
button = VOL-
repeat = 1
config = Key Left Frozen-Bubble
end
And that should do it!
More information about the mythtv-users
mailing list