Building a clutch for vim

Whether you’re using emacs, vi, or vim, your fingers will be performing acrobatics on your keyboard because of the mouseless interface. [alevchuk] thought his feet could be used as a way to reduce the amount of keystrokes, so he built the vim clutch. It’s a USB-enabled foot pedal that will insert characters before the cursor in vim.

Vim requires the user to type the letter ‘i’ to insert text before the cursor. [alevchuk] thought this function could be easily replicated by a foot pedal, so he found an extremely cheap USB foot pedal to serve as his vim clutch. Ideally, the pedal should send ‘i’ when it is pressed and Esc when it’s released. [alevchuk] took two pedals, programmed one to send ‘i’ and the other to send Esc, and put them in the same enclosure.

The result is a working clutch for inserting before the cursor in vim. [alevchuk] is looking into a three-pedal model to add inserting at the beginning and end of the line to his vim clutch, so we’ll keep an eye out for when he posts that build.

Teamspeak button uses tattoo machine foot switch

As an avid gamer, [Pat Norton] uses Teamspeak with his friends when playing World of Warcraft. [Pat]‘s friends were annoyed with the voice-activated option for Teamspeak and the constant squeaking of dog toys, and [Pat] was annoyed with the questionable usability of a push-to-talk key. Dissatisfied with his options, [Pat] built footswitch-controlled teamspeak button using a Teensyduino and a broken tattoo machine foot switch.

The Teensyduino is an incredibly small Arduino compatible board that was perfect for this project. Since the teensyduino can operate as a USB Human Interface Device, it’s very easy to have the board appear as another keyboard to the computer. After borrowing some code from the hardware button of a DIY photobooth, [Pat] hooked up the foot switch to two pins of the board. From there, it was very to adapt the code so the foot switch would act as a third ‘Control’ button. The results look very professional, like a factory-made game controller. We’ve seen a few foot switch keyboard devices before, and while this probably isn’t the most efficient way to have a foot switch button control something on a computer, it’s certainly the smallest we’ve seen.

Passive MIDI foot switch

foot

[Matt] was looking into some software that allows him to use his audio card as a means to control analog audio devices. After seeing how it worked, he got an idea to try to do the opposite.  He is sending a signal into his audio input, and piping it to a pice of MIDI software. The input he has chose is a foot switch. To create the signal, he simply needed to supply voltage while the switch was depressed. You can see above that he used a battery and a simple contact switch to send the signal. He then piped it to a virtual MIDI port using Maple Virtual MIDI Cable. Unfortunately, this isn’t suitable for knobs, but that may be next on his list.