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 --- Bug Reports --- Site News

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

  

Author Topic: Any "Action" to quit program?  (Read 2198 times)

0 Members and 1 Guest are viewing this topic.

dougman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:February 10, 2007, 01:15:46 pm
Any "Action" to quit program?
« on: December 30, 2006, 02:26:33 am »
This is for my Media center/touchscreen/jukebox.
the system is PURELY touchscreen. No keyboard, no mouse, no physical buttons.
When running the wincab, I cannot seem to figure out how to quit the program via the screen. There doesn't seem to be an "exit" action for the skin configuration... (or is there?)

anyone have a solution to this?


Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4575
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Any "Action" to quit program?
« Reply #1 on: December 30, 2006, 11:49:07 am »
There isn't one in the default skin, you'll have to add one.
Pick a spot on the screen for the button, add a graphic if you want it visible, and assign the action to BTN_SHUTDOWN.

So it would look something like this:
Code: [Select]
[Icon21]
x=0
y=600
w=30
h=30
OffImage=exitbtn.jpg
Clickable=True
Action=BTN_SHUTDOWN

Note that these numbers are all made up and exitbtn.jpg doesn't exist; you'll need to find the appropriate coordinates (based on the background image) and create the button image if you want one.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com