Well, you could have a single-key keyboard, and type in morse... this design hacked a usb mouse to make a morse keyer.
blog.fluxcoil.net
Connecting a Morse Key to the computer
Since spring of this year I’m learning to pick up morse code, so to hear sequences of dits and dahs/long and short sounds, and interpret the characters they represent.\n