There are two items of equipment that you are talking about. One is
the key itself - a switch designed to be opearted quickly by hand, and
the other is a code practice oscillator that makes an audio tone when
two wires are connected together (usually by the key, but you can use
it for other purposes as well.)
For the key itself you need some means of closing a circuit with a
spring return. A momentary push-button will work but won't go very
fast. Probably the simplest one is to use a teaspoon from the thrift
shop: find a thin sheet of wood or plastic for the base and mount a
larger block of such material on top of it - the exact dimensions will
depend on the spoon that you get (it has to be metal, of course.)
Attach the spoon handle to the top of the block with the bowl of the
spoon hanging off the side of it. Using two screws through a metal
bar across the handle is best, as it allows the bowl to be moved closer
or further from the block to adjust the tension. Then put a screw into
the base right under the bowl of the spoon so when you press down
on the bowl it contacts the screw. Attach one wire to the spoon handle
and the other to the screw, so that pressing on the spoon completes
the circuit. This will take some adjustment - you want a fairly small
gap so you don't have to press the spoon down too far to make contact,
and enough tension to spring the spoon back away from the contact
when you let up on it but without being too hard to press. Adjust the
tension by pulling the bowl out further from the support block so
more of the handle extends past it, and adjust the throw either by moving
the contact screw up and down or bending the spoon handle a bit. The
exact settings are a matter of personal preference.
The "noise maker" part can be a simple buzzer and battery or at two
transistor circuit connected to a speaker. Here is one using a NE555
timer IC:
http://home.alphalink.com.au/~parkerp/gateway/noapr98.htmHere is one using discrete transistors: you can use 2N2222 or 2N3904
transistors (or just about any NPN type) and put a speaker or headphone
in the collector lead of one of the transistors (in place of one of the
resistors marked R3.)
http://web.telia.com/~u85920178/blocks/osc-1.htm