Code and other files for the McCree Hammershot controller
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

McCree Hammershot Header


These are the associated files for my McCree Hammershot controller project! I turned a Nerf revolver into a custom controller for the character of McCree in Overwatch. The revolver contains an Arduino Pro Micro, an MPU-6050 IMU, and a host of other parts to handle McCree's controls. When paired with either a DDR dance pad or a Wii Nunchuk to handle his movement, I can use all of McCree's controls and play the game reasonably well.

For more information, check out the full build log on


The Hammershot program is dependent on the CapacitiveSensor, Encoder and FastLED libraries. The Nunchuk code is dependent on the WiiChuck library to handle communication between the board and the Nunchuk. Both sketches are dependent on the Arduino IDE's built-in Keyboard, Mouse, and Wire libraries. The sketches were compiled using version 1.8.2 of the IDE.

I've linked to the specific library releases that work with this code. Note that future versions may not be compatible.


The Arduino code, CAD files, and breakout PCB are licensed under the terms of the GNU General Public License v3.0.