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: CAPS/NUM LOCK Light  (Read 2533 times)

0 Members and 1 Guest are viewing this topic.

MrD

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 134
  • Last login:May 20, 2020, 04:34:05 pm
  • I want to build my own arcade controls!
CAPS/NUM LOCK Light
« on: January 19, 2007, 09:27:39 am »
Would there be a way within DOSCab to set the light on / off of Num / Caps / Scroll Lock?

I was thinking that since everything is event driven, a specific event could trigger each light on or off.   I'm trying to retrofit this into real jukebox.  It has lights that must turn on once you place a coin in and get a credit.  I was thinking I might be able to hack into the keyboard controller and use these lights with some low voltage LEDS or wire the light up to a relay to trigger something bigger.   

Ideally it would be nice to be able to also triggers these to flash maybe when the machine is idle, etc.   Maybe flash in sequence, repeat.   Sort of an attract mode. 

I was thinking thinking this might be and easy way to trigger outside lighting without actually having some fancy controller wired through the serial port etc.

The other idea I had is, I'm using an X10 Firecracker that is plugged into the serial port.  http://en.wikipedia.org/wiki/X10_Firecracker

I use it in my batch file at start up to trigger a controller that turns the AMPs on and off.  This way the computer is turned on first, then the AMP, on shutdown, the AMP turns off first, then the computer.  This avoids the "pop" if the AMP is still on and the computer is turned on / off.   One switch for the whole unit.   The X10 Firecracker is like a $10 part.   I have a freeware DOS command that can trigger these on / off.    If I could find the specs on the serial communication, could that be something that was added?   Shelling to DOS probably wouldn't be very practical while DOSCab is running and not very fast either.

Here are the X10 Firecracker Specs.   It only manipulates the RTS / DTR pins on the serial port.
http://home.comcast.net/~ncherry/common/cm17a.html

There may even already be code already written in what you are programming in.   This a bunch of references to Linux, but there are code samples for other languages (PHP, etc). 
http://home.comcast.net/~ncherry/
« Last Edit: January 19, 2007, 09:38:38 am by MrD »

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: CAPS/NUM LOCK Light
« Reply #1 on: January 19, 2007, 09:38:58 am »
Comminication with external devices and LED's is something I plan on working on in the next version... in fact, I just ordered two LCD 4x20 character displays a few minutes ago so I could start working on this.  But it's not going to be something that appears, say, this weekend or anything.

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com