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: Shutdown your computer by pressing 2 keystrokes at the same time?  (Read 1668 times)

0 Members and 1 Guest are viewing this topic.

Kayser

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 23, 2006, 03:48:45 am
  • I want to build my own arcade controls!
By pressing 2 keystrokes at the same time.
Example:ESC+P
I wonder if that was possible,maybe using a Batch file?

Sprucemoose

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 271
  • Last login:March 23, 2009, 03:56:10 pm
  • You Spent How Much?!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #1 on: March 03, 2006, 06:17:19 am »
Use the shift function of an Ipac.  I actaully do the same thing because people accidentally hit the esc button during play.  Problem solved with 2 button esc.

Kayser

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 23, 2006, 03:48:45 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #2 on: March 03, 2006, 06:50:00 am »
what i really wanted was by pressing ESC+P keys  would shutdown my computer
I have 2 black buttons on my stik stik.
they are far from each other.
Would be nice if i could press both of them and the computer exits the frontend and shutdown my pc.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #3 on: March 03, 2006, 07:20:40 am »
This may be built into the front end. MameWAH is capable of this.

John

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8520
  • Last login:Yesterday at 04:44:55 pm
  • because the mail never stops
    • dans cocktail lounge
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #4 on: March 03, 2006, 08:30:04 am »


on my cab i used a macro to allow me to press 'fire' and 'player two' to exit and shut down. it has an ipac, i hadnt realised it could do that...


ROUGHING UP THE SUSPECT SINCE 1981

Kayser

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 23, 2006, 03:48:45 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #5 on: March 03, 2006, 08:43:59 am »
I have I-pac,but i have no clue how to use the macro function.
is it possible by pressing 2 keys at the same time will be like pressing a F6 key?(an example)
thanks guys

Kayser

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 23, 2006, 03:48:45 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #6 on: March 03, 2006, 08:52:16 am »
could you tell me how to use the macro function?
Thanks a lot Danny.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #7 on: March 03, 2006, 09:26:08 am »
I can't recall off the top of my head. I will look when I get home this evening and post. I do seem to remember that it will handle 4 macros per IPC file. This means you can program a single key press to be equivalent to say Alt-F4.

John

brophog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 486
  • Last login:January 20, 2019, 03:49:41 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #8 on: March 03, 2006, 02:46:28 pm »
Open up winipac.

Go to panel layout view.

Instead of left clicking on a button to change the assignment, right click on it.

Scroll down to Set Macro. Here, you can define your 4 macros.

Now, Right click the button again, and pick the macro you would like.


Kayser

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 23, 2006, 03:48:45 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #9 on: March 03, 2006, 04:17:37 pm »
thanks it worked.But the problem i don't want the kids to accidentally press that button while playing.
I have 2 black buttons ,one to the left and the other to the right.
I wanted to shutdown the machine by pressing them at the same time so that way won't happen any accidental shutdown.
Thanks a lot 

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #10 on: March 03, 2006, 05:15:42 pm »
I can appreciate what you are trying to do, but why not just add a microswitch button somewhere out of sight?  Either on top, behind, or in the coindoor maybe?  Escaping a game by accident is one thing, shutting down is a whole other topic.  You could use those two other buttons for use with Johnny5 or CPMaker or something else within a front end that is useful to the players.

Kayser

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 23, 2006, 03:48:45 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #11 on: March 03, 2006, 06:45:48 pm »
Can you tell me where can i get this microswitch?
Thanks a lot

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #12 on: March 03, 2006, 07:40:38 pm »
Just any old button.  Here is a pick of how I did it on my cabinet.  On others that I have built, I've put them in not so obvious locations.  On mine, you would have to be trying to hit it, that is why it's on the front.  Plus, I don't have kids, so no accidental hitting.  When installing, you just cut the two wires that are hooked up to the power button on your cp and connect those to the microswitch button just like any other button.  One wire goes to ground, one goes to the positive.

« Last Edit: March 03, 2006, 07:43:09 pm by mccoy178 »

brophog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 486
  • Last login:January 20, 2019, 03:49:41 am
  • I want to build my own arcade controls!
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #13 on: March 03, 2006, 09:57:54 pm »
thanks it worked.But the problem i don't want the kids to accidentally press that button while playing.
I have 2 black buttons ,one to the left and the other to the right.
I wanted to shutdown the machine by pressing them at the same time so that way won't happen any accidental shutdown.
Thanks a lot 

If you set one of the buttons as the Switch button on the IPAC (normally assigned to Player 1 Start), then that would do what you are asking.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 08:33:39 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #14 on: March 04, 2006, 12:17:28 am »
Just the voice of common sense chiming in.  You can shutdown windows via a specialy made shortcut file.  You can call shortcuts via hotkeys.  So instant solution I'd say. 

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8520
  • Last login:Yesterday at 04:44:55 pm
  • because the mail never stops
    • dans cocktail lounge
Re: Shutdown your computer by pressing 2 keystrokes at the same time?
« Reply #15 on: March 04, 2006, 01:58:24 am »
could you tell me how to use the macro function?
Thanks a lot Danny.

would you believe i didnt know that the IPAC had a macro function?! i used a conventional macro.

and howards idea is amazingly easy. i gotta listen to him more (except when he talks about cars  ;))


ROUGHING UP THE SUSPECT SINCE 1981