The McCree controller is done! Now it’s time to take a break and do a little postmortem: what worked well, what didn’t, and what I would do differently next time.
The McCree controller is so close to being done! There’s one last change to make: swapping out the DDR dance pad for a faster controller. That ‘faster controller’ is going to be a Wii Nunchuk, the one-handed extension controller for Nintendo’s 7th generation console.
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.
I purchased a set of 2 cheap knockoff Nunchuks for $10 from eBay. I don’t have access to a genuine Wii remote / Nunchuk, so some of what follows is based off of information I can find online and may be different with a ‘genuine’ article. Your mileage may vary…
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!
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.
The controller is assembled and programmed, so it’s time to put it through its paces, play some games, and see how well it works!
The hardware is done and the Nerf gun is assembled, so all that’s left is to write the code to drive the controller!
The controller hardware is so close to being done! The last step is to wire everything to the completed circuit board and then re-assemble the controller shell.
Most of this wiring I did as I went along, but since the same process was used throughout I thought it would be better to discuss everything at the same time.