Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: theelf on August 21, 2014, 08:18:37 pm

Title: Start app from joystick button or key
Post by: theelf on August 21, 2014, 08:18:37 pm
Hi!!

I have xbmc installed on the computer

Is possible to assign a key or a joystick button, to start xbmc?  i dont want to do a emulator+list, because i just need to open xbmc

any ideas?
Title: Re: Start app from joystick button or key
Post by: Skinnysloth on August 21, 2014, 09:52:48 pm
Is there any particular reason you don't want xbmc to open on startup of the computer?

If you're running windows, you can use the free program AutoHotkey to assign a joystick button or combination of buttons to open xbmc.

You'll need to have AutoHotkey load when the computer starts and edit the script.  More info here: http://www.autohotkey.com/docs/Tutorial.htm (http://www.autohotkey.com/docs/Tutorial.htm) and http://www.autohotkey.com/docs/misc/RemapJoystick.htm (http://www.autohotkey.com/docs/misc/RemapJoystick.htm)

For example, a AutoHotkey script of:
Joy10 & Joy11::Run mspaint

will open paint when joystick button 10 and 11 are pressed at the same time.  If you replace "mspaint" with the executable file for xbmc, which I will assume is "xbmc" then the script should open xbmc when button 10 and 11 are pressed.  You can pick whatever button or combination of buttons to use.
Title: Re: Start app from joystick button or key
Post by: empardopo on August 27, 2014, 01:14:08 am
AllInOneFYC can be your friend! :-)