Closed GoogleCodeExporter closed 9 years ago
Nevermind, I rebooted and it doesn't happen anymore.
Original comment by alcides....@gmail.com
on 2 May 2011 at 1:19
OK I found out what's going on. I'm not disabling XBMC as a LIRC client when
switching to the emulator.
Since my joystick has only six buttons, I've mapped Start and Select to my
remote. When I press them XBMC also reacts to the remote and that makes it lose
focus somehow.
Original comment by alcides....@gmail.com
on 2 May 2011 at 5:57
Did you find a work around for this issue (I guess disabling LIRC is not
possible)? Or do you have to switch back to XBMC manually (with keyboard/mouse)?
Original comment by maloep
on 3 May 2011 at 6:47
You can make XBMC stop & start listening to LIRC with the commands:
xbmc-send -a "LIRC.Stop"
xbmc-send -a "LIRC.Start"
I've put these in a shell script before & after launching the emulator. Like
this:
#Stop XBMC from listening to LIRC
xbmc-send -a "LIRC.Stop"
#Change LIRC mode
lirc_mode ~/.lircrc set emus
#Start emulator
snex9x-gtk "$1"
#Change LIRC mode back
lirc_mode ~/.lircrc set default
#resume LIRC on XBMC
xbmc-send -a "LIRC.Start"
Original comment by alcides....@gmail.com
on 3 May 2011 at 6:02
Ok. Thanks a lot. I can use this as a reference if anyone has a similar problem.
I will close this issue in some days as I can't really support this in code.
(There is another issue on my TODO list to support before- and after-launch
commands. Maybe this could help you to inject the lirc commands instead of
using the shell script. But it will need some time until I can start to work on
this.)
Original comment by maloep
on 4 May 2011 at 6:24
The before and after launch commands sounds a good feature.
The LIRC functions I mentioned are built-in XBMC functions that you can call
from within python plugins. Maybe you could have a setting like "Disable LIRC
while emulator is running".
Original comment by alcides....@gmail.com
on 4 May 2011 at 5:01
Original comment by maloep
on 9 May 2011 at 5:18
Original comment by maloep
on 21 Nov 2013 at 7:03
Original issue reported on code.google.com by
alcides....@gmail.com
on 2 May 2011 at 1:10