In the previous post we created the hardware for an arduino gamepad. Now it’s time to connect it to a simple rough game just to see that it works.
First of all we need a library that can success the serial communication for trading data between our application and arduino. I used “Tserial” library you can download it from here (both .h and .cpp files). I create this very-simple-arcanoid on Borland C++ 6 framework.