DIY PC Footswitch Using a Sustain Pedal

A couple of years ago I picked up an inexpensive sustain pedal for an electric piano at a garage sale. The piano itself wasn’t much to look at, but the pedal intrigued me… it’s a basic on/off switch, but the pedal itself feels fairly robust and I thought it would be a handy switch to have around.

This past week I finally got around to doing something with it! I built a small box that converts the signal from the pedal into a keypress, allowing me to use this pedal as a foot-controlled hotkey for my PC.

Read more “DIY PC Footswitch Using a Sustain Pedal”

iRacing Plugin for Prismatik

I’ve been trying to teach myself a little Python, and here’s what I came up with for my first small project. Using their respective APIs, I’ve built a plugin for the Prismatik ambilight software that maps live data from the iRacing simulator. A video demonstrates the end result far better than I can explain it:


The plugin itself is open source and hosted on GitHub. Click here to download the latest version.

Read more “iRacing Plugin for Prismatik”

How to Use a Wii Nunchuk with an Arduino

When the Nintendo Wii was released in 2006, there was a lot of talk about their new weird control system. In place of a typical control pad, players would use a one-handed “remote” with infrared sensors and accelerometers in place of a joystick. For those games that required additional controls, players would use an accessory controller in their off-hand.

This ‘accessory’ controller is the Nunchuk. A strange, bean-shaped attachment with a joystick, two buttons, and a three-axis accelerometer. Although the Nunchuk had a lukewarm response when it was first released, it’s the perfect controller for makers who want to add some fine control to their projects.

Although I’m writing this post with Arduino in mind, most of this information also applies to using a Nunchuk with something like a Raspberry Pi or an ARM-based board.

Let’s get started!

Read more “How to Use a Wii Nunchuk with an Arduino”

McCree Hammershot Controller: Bug Fixing and Refinements

Although the controller is now operational, it has a few bugs that need to be ironed out and a couple of controls that need to be tweaked to make the game more playable. I learned a lot from the playtests so now it’s time to make some changes.

There are three problems with the controller that need to be fixed: the flashbang, the aiming accuracy, and the aiming speed.

Read more “McCree Hammershot Controller: Bug Fixing and Refinements”