3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

One-Key Keyboard Hack

One-Key Keyboard Hack
Question: What do you do when your PC wants you to press F1 on boot, but you have no keyboard?
Answer: Hack together a USB dongle that does nothing but F1.

I admit that this is a silly problem and an even sillier solution, but the mind boggles at the possibilities: custom keypads for gaming, a Control+Alt+Delete "easy" button...

...any key or combination of keys can be broken out into an apparatus as keyboardy or keyboardless as you like, and used to do anything a keyboard can do!

 
Remove these adsRemove these ads by Signing Up
 

Step 1Why?

Why?
"Why not just fix the error, stupid?" you might ask, "These errors are there for a reason!"
Well, you are absolutely right (though calling me names was kind of mean).

The problem is, I'm building a publicly-accessible PC kiosk* (mouse only, no keyboard), and the components are squeezed into a rather small space. The donor PC featured a very tall heat sink/fan that just wouldn't fit, so I had to swap it out for a smaller one. The problem: the original fan was a four-wire model that talked to the motherboard, telling it soothing things like "I'm working." The replacement one I had on hand was a two-wire fan that refused to discuss anything with the motherboard. So on startup, the bios would report a failed CPU fan, and stop at a prompt: F1 to continue, F2 to enter startup... so my kiosk would sit there waiting for someone to press F1, and would be the lamest kiosk in history.

Of course, some of the warnings that show up during startup can be turned off in the BIOS (like the "keyboard error"), but  my BIOS had no option for "don't worry about the CPU fan." If I knew more about the world, I may have been able to grab the two unused wires from the CPU fan swap, and add a resistor or some other little bit of hardware that would fool the motherboard. Instead, a dim light-bulb flickered above my head, and I performed the following test:

Plug in a USB keyboard, hold down F1, start PC, keeping F1 pressed.

Results:
I watched as the error popped onto the screen, then vanished.
The OS loaded fine, the browser opened fine; no "Help" pop up... in short, no ill effects from holding down F1.

So I assumed that the OS was smart enough to accept the F1and then ignore a "stuck key," and I decided that my silly plan was worth doing.

*'ible for that kiosk is now in progress...
« Previous StepDownload PDFView All StepsNext Step »
71 comments
1-40 of 71next »
May 29, 2011. 9:07 AMkillersquirel11 says:
I just want to be the first to say that when I saw the picture, the first thing I thought of was this:
Jul 13, 2011. 2:12 PMbikerbob2005 says:
my favorite
May 31, 2011. 8:46 AMzetacool says:
I was thinking about tha same image too :p
May 30, 2011. 11:06 AMsmitdesai says:
Any OS run with 1 button ???
May 31, 2011. 5:33 PMcwix09 says:
The Macbook Wheel!

http://www.youtube.com/watch?v=9BnLbv6QYcA
May 30, 2011. 11:17 AMleggomylegoeggo says:
the Mactini

http://www.youtube.com/watch?v=gw80nMPv1Wc
May 30, 2011. 8:29 AMluvasu says:
¡¡¡ OH.. YES !!! The essential keyboard for ANY Windows since 3.1
May 29, 2011. 7:48 AMmtkraabel says:
OK - I can really use this.

I am a mechanical designer and run CAD programs all day with my right hand on the mouse and my left hand on a SpaceNavigator ( http://www.3dconnexion.com/products/spacenavigator.html ). Often have to reach over and hit the F8 key to reset a view. Going to make one of these had have it right were I can hit it with my thumb without taking my hand off the SpaceNavigator.

Build it - they will come.
May 29, 2011. 3:25 PMMichael_oz says:
You could use AutoHotkey (autohotkey.com) and a simple script to redefine one of the extra mouse buttons to F8.

One line script;
Xbutton1::send {F8}
May 29, 2011. 5:53 PMmtkraabel says:
All combinations of mouse buttons for a three button mouse are already utilized by commands in the CAD software.

Is there a mouse available that has extra buttons?
Jul 13, 2011. 2:07 PMbikerbob2005 says:
does your wheel have a click feature? do you use it? some mice have side buttons that are programmable http://tinyurl.com/68xuaa9
Jun 9, 2011. 3:08 PMIncrediblyCondensedBlackMatter says:
logitech m305. side scrolling buttons and middleclick too, for about 15 bucks, and it's wireless. works great in linux too
May 30, 2011. 7:32 PMblacksmith_tb says:
How about 13 buttons?

http://www.logitech.com/en-us/mice-pointers/mice/devices/7244

If you're on OS X, I highly recommend ControllerMate, which allows you customize the behavior of almost all mice, keyboards, and joysticks (esp. ones w/o Mac drivers).
May 31, 2011. 8:45 AMzetacool says:
Nice one dude!
tnx!!!
May 29, 2011. 7:37 PMjumpfroggy says:
@mtkraabel
You might actually benefit from something like this:
http://store.razerzone.com/store/razerusa/en_US/pd/productID.169418900
17 buttons. "MMO optimized", but I use a DeathAdder for work (non-gaming) simply because it's more comfortable & works better than other mice I've tried. I have 5 buttons (including the mousewheel), and sometimes I wish I had a few more so I could bind them using AutoHotkey. I don't recommend razer's keyboards, but I've loved their mice.

You could also try something like this, but I think it looks awfully-designed:
http://www.warmouse.com/

Good luck!
May 29, 2011. 6:23 PMMichael_oz says:
Lots have two more buttons.

http://www.microsoft.com/hardware/en-us/p/comfort-mouse-4500/4FD-00006#n

In autohotkey the buttons a Left, Right, Middle, Xbutton1 & Xbutton2.

Also many (incl the above) come with software to program the buttons if you don't want to use autohotkey
May 29, 2011. 3:32 PMljdarten says:
Software wouldn't do anything, this is during the bootup process, well before the OS is even running.
May 29, 2011. 4:12 PMMichael_oz says:
I was talking about mtkraable's issue re two handed CAD control & pressing F8.

Sorry for the confusion
May 29, 2011. 7:26 PMljdarten says:
oops, missed that your comment was a reply to a comment. thought it was straight comment to the article. my bad.
May 29, 2011. 8:34 AMCVBruce says:
Or a foot switch.
Jun 18, 2011. 5:35 PMThe Insignificant User says:
Forgive my ignorance, but this would be possible to do with the enter key, right? As long as I soldered the correct connections?
Jun 20, 2011. 3:48 AMspasysheep says:
Yup.
Jun 5, 2011. 7:19 PMCulturedropout says:
Couldn't you just have stashed the old fan someplace out of the way but left it plugged into the motherboard, and then wired the power wires for the new fan in parallel with the existing ones? Use the old fan to blow air over something else in the project that needed cooling?
Jun 1, 2011. 9:17 PMklaviatury says:
Lame excuse for the build but good execution, there must be a reasoning for a keyboardless kiosk and i would imagine you would want to keep it clean so not really sure why add the button with so many more efficient ways to fix the real issue ie rewiring the fan, sending a signal to the speedometer or heck removing or getting a different powersource for the fan.
May 28, 2011. 11:37 AMKaylonds says:
Why didn't you fix the real problem? Either getting a fan with speed signal or connecting some +2V wire to the speed signal pin.
Seems way easier.
May 29, 2011. 10:25 AMac-dc says:
You don't have to fool the motherboard, you can give it the real RPM signal. Connect a wire from the collector pin on the transistor right before the motor coil in the fan, to the 3rd pin on the motherboard header for RPM. 4th wire isn't needed to get RPM, it is the PWM control line.

Another possible option is to edit the bios, if there is an editor you can find that handles the core version and brand (Phoenix, Award, AMI, etc.), there is probably a setting that is hidden from the user interface, although there might even be a key combination that will get you to full control page when the system POSTS prior to booting, but it is harder to find this info as it can vary.

A note to other people: A constant *on* key can cause very weird behavior on some OS (including windows) depending on which it is, or constant beeping, or especially with PS2, loss of use of the other PS2 connected input device as the buffer is full from the /stuck/ key signal.
May 29, 2011. 1:25 PMtn. says:
you mean like that BEEPBEEPBEEPBEEPBEEP i get when i've fallen asleep face-down on the keyboard?

i can see it.
May 31, 2011. 7:21 PMThe nerdling says:
lol
May 28, 2011. 12:17 PMVinsu says:
Failure of battery, that keeps the BIOS on hold, could also be the problem...
May 30, 2011. 4:53 PMjohnpoole says:
great writing style.. i am going to glue the a n y keys to my usb to see if i can get my grandkids to press it them.. i know some of the end users at work would try them..
May 30, 2011. 1:15 PMprzemek says:
In the line of 'fix the fan' comments, it would probably have worked to unscrew the old fan from the old heatsink/fan assembly, and attach it to the new, lower-profile heatsink.

Now, this assumes that the new fan/sink can shed enough heat to reliably run this thing.
May 30, 2011. 9:44 AMNastX says:
On Some Boards, you just can disable Stopping because of a missing Keyboard.
Look in the BIOS for something like "HALT ON" or POST-Errors.
1-40 of 71next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
33
Followers
23
Author:mcraghead(HumboldtMusic.com)
Singer / Songwriter, guitarist co-founder of HumboldtMusic.com Day Job: Pixel Pusher @ Humboldt County HHS