Attract-Mode Support > Scripting

How do I Shutdown PC without using a keyboard?

(1/1)

erevans:
I've searched but I cannot find the answer I'm looking for.
I am trying to make a keyboardless setup on a PC running Linux.  (if instructions exist for Windows, I should have enough understanding how to modify a .bat file to a .sh file)
I have MAME working fine.
I have Attractmode with Nevato theme working fine.
I have Attractmode set to launch upon boot.
I have Attractmode set to shutdown the PC on exit.

What I am looking for is to have a shutdown command (and perhaps an exit command) directly in a display via a wheel entry (like in the attached image from a youtube screengrab of a Cabrio-FE build) so I can run keyboardless.
Can anyone offer some pointers?  Do I need to write a plugin?

Thank you in advance for your help.

xbs:
I think you'll need to have a fake emulator or game that runs a script that shuts the PC down.

You can have a combination of keys to exit AM and therefore shut the PC down.

Another option, which i'm using on my arcade machine, is a dedicated power button connected directly to the mobo power pins.
One press turns the machine on\off.
Simple and pratical :)

erevans:
Thank you.
I got it working, now to just make it pretty.

Navigation

[0] Message Index

Go to full version