2012-06-25, 15:30
Does anyone know of a way to use xboxdrv to control xbmc, but also control external apps launched using advanced launcher? I followed these instructions at http://forum.xbmc.org/showthread.php?tid=98824 and got the controller working in xbmc without any problems, but I can't figure out how to load a new configurations when running external programs. I've got a script set up as:
The config file I have set up works fine if I load it from the xbmcbuntu desktop and then run the program, but it doesn't seem to load when I run the script. The program loads, without any problems, but the controller doesn't work. When I exit the program, the controller still controls XBMC without any problems. Any ideas?
Code:
#!/bin/bash
killall -STOP xbmc.bin
killall xboxdrv
xboxdrv -c limbo.xboxdrv
/opt/limbo/bin/wine --bottle default --workdir 'C:\\Program Files\\limbo' --wait-children --cx-app limbo.exe
killall xboxdrv
xboxdrv -c /usr/share/doc/xboxdrv/examples/xbmc.xboxdrv
killall -CONT xbmc.bin
The config file I have set up works fine if I load it from the xbmcbuntu desktop and then run the program, but it doesn't seem to load when I run the script. The program loads, without any problems, but the controller doesn't work. When I exit the program, the controller still controls XBMC without any problems. Any ideas?