Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Start app from joystick button or key  (Read 1544 times)

0 Members and 1 Guest are viewing this topic.

theelf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:June 12, 2016, 06:33:54 pm
  • I want to build my own arcade controls!
Start app from joystick button or key
« 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?

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Start app from joystick button or key
« Reply #1 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 and 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.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:April 20, 2024, 08:26:51 am
    • My personal forum
Re: Start app from joystick button or key
« Reply #2 on: August 27, 2014, 01:14:08 am »
AllInOneFYC can be your friend! :-)