This Class allows the joystick, buttons and petiometers to be implemented easily and coherently in other classes

Fork of Gamepad by Craig Evans

Revision:
29:77cfc0348743
Parent:
27:d51c87ced56e
--- a/Controller.cpp	Mon May 01 17:04:29 2017 +0000
+++ b/Controller.cpp	Tue May 02 14:02:39 2017 +0000
@@ -233,7 +233,7 @@
 }
 
 
-int Controller::check_for_buttons() { //return int depending on specific interrupt
+int Controller::check_for_buttons() { //return specific interger depending on the interrupt triggered
     if (check_event(A_PRESSED)) { 
         return 1;  }
     else if (check_event(B_PRESSED)) {