Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Lirc and emulationstation
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Lirc and emulationstation
15th Feb, 2014, 11:36 AM
Post: #1
kgoerbig Offline
Registered
Posts: 20
Joined: Jul 2013
Reputation: 0
Lirc and emulationstation
I installed emulationstation from source onto my xbian setup. I'm trying to figure out a way to launch emulationstation from the command prompt with only a streamzap remote.

I already have the streamzap remote and lirc functional along with irexec. I edited /etc/lirc/lircrc to map two of my buttons, one to stop xbmc, and another to start xbmc. That part works fine (launching and stopping xbmc with irexec/lirc). I want to use the same method with lirc/irexec to start/stop emulationstation. Is this possible?

Here is is my /etc/lirc/lircrc:

Code:
# Example with modes
# MAIN BEGIN (irexec mode) - Application Selection Mode
# ---------------
begin irexec

BEGIN
        prog   = irexec
        remote = Streamzap_PC_Remote
        button = GREEN
        config = service xbmc start
END
BEGIN
        prog   = irexec
        remote = Streamzap_PC_Remote
        button = RED
        config = service xbmc stop
END
BEGIN
        prog   = irexec
        remote = Streamzap_PC_Remote
        button = BLUE
        config = emulationstation
END
BEGIN
        prog   = irexec
        remote = Streamzap_PC_Remote
        button = YELLOW
        config = killall -9 emulationstation
END
BEGIN
        prog   = irexec
        remote = Streamzap_PC_Remote
        button = POWER
        config = /usr/bin/navixsearch
END
end irexec
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 06:18 PM Powered By MyBB, © 2002-2025 MyBB Group.