Homebrewed Macro Keyboards?
MightyMaus asks: "So I've been checking out various hardware websites lately, paging through computer retail catalogues, and basically pining for a better-paying job. But one device that's really caught my eye is the Programmable Keypad. Looks pretty cool, but $140? No way. Even the smaller version carries a hefty $90 price tag. Now, it seems like making one of these should be relatively easy; but the almighty Google returns nothing but more places to buy these things. So where do I turn? To Slashdot. Has anyone hacked together one of these before?"
Looks like you could just get a USB keyboard. Somehow set it up as a secondary input device. I assume Linux can do this. Intercept the keypresses on the secondary keyboard, and have them do 'foo'.
Or, quit bitching, and pony up. I guess it could be a fun hack, but if the keyboard has any quality whatsoever, this isn't that expensive.
For more fun, you may want to look at some of the controllers for RTS games. Not as many keys, but drivers might be easier to find. Another possibility is to find a touchpad. Put on an overlay. Map coordinates to your macro.
Jesus was all right but his disciples were thick and ordinary. -John Lennon
My keyboard is like a part of me. I'd kill myself without its sweet tactile feedback.
A Multiplayer Strategy Game for Mac OS X, Windows, and Linux
Focus FK-9200
After my trackmate ( or whatever it was called ) died, my second keybroniq (whatever) keyboard, and I used a keyboard/mickey-rat combo for a couple of months, it nearly crippled me, so I discovered these things, and bought 2, because being made crippled, just because my keyboard died, .. IS NOT ON.
PS/2, but I hope they make a USB version, soon...
Trackball AND macro-keys, AND calculator ( excellent combo ).
To keep the trackball running well, I keep a bottle of isopropyl alcohol ( not "rubbing alcohol with glycerine and lotion" ), and a bunch of cotton-swabs, and clean it a couple of times each day. It's a good reminder that I need to .. drink water, and walk 'round, and such -scratching head bemusedly-...
REALLY search for a good price, because they are sold at drastically different prices by different resellers..
Messages to/for me ( in me journal )
Just when I thought cheating in Unreal Tournament couldn't get any worse, someone makes a keyboard to attach all those cheat scripts to.
Elektuur, a Dutch magazine, has published some articles about a keyboard with hotkeys. This is the link but I'm afraid it won't work very well (and there's no google cache). Just search for "Hotkeys-toetsenbord" on elektuur.nl. It has 18 buttons. Only PS/2 though..
History matters..
Gateway used to ship "AnyKey" keyboards with all their systems. You should be able to find one if you look around a little bit. They are basically standard keyboards with a bunch of extra keys that you can program. There's a picture of one here on Google, although it appears the linked site is down. Anyway, they come in both PS/2 and DIN-5 varieties. There should be more information on Google.
Get one of those numeric keypads designed for laptops with a USB interface. Then you can map the keys sung xmodmap.You could even put stickers on the keys.
- 18 inputs, up to a 9 x 9 matrix for 81 inputs.
- 24 inputs, programmable via keyboard or rs-232 port, up to 12 x 12 matrix for 144 inputs.
- 24 inputs, programmable via keyboard only, up to 12 x 12 matrix for 144 inputs.
- 72 distinct inputs, programmable, trackball support.
- Daisy-chaining two encoders together for more inputs.
They use 'em for interfaceing arcade controls to keybd port.So much to do, so little bandwidth.
--
Try Mozilla
they have often customised keyboard chips for input, also you can just whack one of your old keyboards and take a look inside, do necessary wiring to something(first test out, or trace, the connection matrix) you wish to use for buttons.
also.. you can butcher old keyboards for seperate numpads too(which are available, but cost more than 5$).
also, some mame cabinet projects have made special hw to connect several normal keyboards to one pc so that they still all work.
world was created 5 seconds before this post as it is.
these arnt cheap, but may be what you are looking for? they have a fairly small keyboard.
You already have everything you need if you run Linux or any other *nix: just remap your current keyboard. For example, you can make a keyboard map of the number pad with whatever macro you want, and then toggle between the regular keypad and the macro keypad with a rarely-used button, like PrintScreen or Scroll Lock.
:Peter
I agree with the "do it for fun, not to save money" point.
;-)
However, I could build a completely custom USB keyboard for less than $140 NOT counting labor. Everyone knows hobby time is worth $.0025/hour anyway.
It would be up there in price, around $80 to $90 since the circuit board would be custom. That's only if I had someone else make the board, though. Guess I could etch my own board.
Anyway, all that would be required: one of the many cheap ($3-$5) USB-capable microcontrollers, some trivial encoding logic, and keyswitches. I'd probably go with surplus opto-interrupters and spring-loaded buttons on a custom panel. Easier to do if you have access to a CNC machine.
The benefit? Using the HID device standard, your button-box can become anything. Keys mapped anywhere, even macros depending on how fancy you get with the firmware. Could also add some more status lights, or outputs to control the coffeemaker.
...
A bit of a dupe, but try this. Meets all your criteria except feel, and they claim to be good for RSI.
Consciousness is an illusion caused by an excess of self consciousness.
Well you did want to know if anyone rolled their own.
6 3
If you are looking for PS/2 keyboard or RS232 serial output, check out the MEMkey board.
http://www.parallax.com/detail.asp?product_id=279
At quantities of 1 they are $40, but as they are programmable this can most likely do anything you need.
It has a 4x5 matrix (20 keys) that you wire to this board. Then you program it to push a value for each key out either the serial or PS/2 lines, you can plug this in directly to the keyboard input if thats what you need, or go the serial route if you want to make your own listener appliaction for it.
PDF datasheets are on their site.
Ive purchased many of these and they are the most handy things ever.
You can also buy keypads and ribbon cables from parallax as well if you dont mind a 4x3 or 4x4 telephone like pad.
Both have 0-9 * and #, and the 4x4 has the letters A-D.
If you make your own, the board can support up to 4x5 grids.
With a few other parts you can easily break out the matrix and wire each of the 20 keys up to pushbuttons to do almost anything.
If you use a serial protocol, and some latch ICs, you can string together 8 or so of these chips into one serial port on the PC.
My application was a MAME joystick that sent PS/2 keycodes that MAME would understand.
(BTW, for real arcade joysticks buttons and whatnot, check out www.happcontrols.com)
Hope this helps