Now that you have a working game that uses your accessory controller, it's time to make some changes. While the game itself could use a lot of work, I will focus on the interface to the game controller and improving performance and security of the system.
Let's look at Figure 8-1 to review what goes on when you turn the knob and send a new position to the game.
Figure 8-1. Data movement through the game
The game controller generates a byte of data representing the position of the knob that you want to translate into the position of the paddle. From the processor residing on the game controller, you ...
No credit card required