Main > Main Forum

Newbie needing help, please. How to make a basic USB input button

Pages: << < (6/6)

MinerAl:

Go find an original iMac one button mouse and take out the ball. 

pointdablame:

The easiest way to accomplish this has already been stated.  Disassemble a mouse, run 2 wires from a button contact, and run it to a switch.  You are done.

If you are looking to sell it, you will need to do as stated and create your own USB device... which is way too much work for a one button interface IMHO.  If you are looking to sell these to people, you had better be able to sell them for under $5 or $10 or so because beyond that, it is not worth it.  A person can but an interface from GGG for $20, and have 32 possible inputs instead of just one and have exactly what you want to accomplish... as well as a lot more versatility.

You can find keyboard encoders at http://www.ultimarc.com or http://www.groovygamegear.com

krick:

Isn't someone selling a device now that is basically a pre-made USB controller hack?  I think that would be more in line with what this guy is looking for instead of a keyboard encoder.  Well, except for the repeating input part, but I think that can be accomplished with a 555 timer or something.

Granted, this would be overkill because there'd be tons of unused inputs.

Kremmit:

A single switch would work with a TOKN16, they may not be the best for MAME, but for a single switch they'd be fine, and they sell on ebay dirt cheap.

But I get the feeling this guy wants to build his own USB section, not buy or hack an interface.  I don't think he cares about the button so much, or about getting it working, as learning how to build a USB interface from the ground up.  Sorry, guy, I can't help you with how to do it, but at least I know what you want.

Pages: << < (6/6)

Go to full version