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

Fork of Gamepad by Craig Evans

Revision:
25:edb07ff38749
Parent:
24:7b149f5d4bef
Child:
26:ccdf299b26c4
--- a/Controller.h	Sun Apr 16 13:45:22 2017 +0000
+++ b/Controller.h	Sun Apr 16 19:38:43 2017 +0000
@@ -117,9 +117,9 @@
     bool check_event(ControllerEvent const id);
 
     /**
-     * @brief If a specific flag has 
-     * @param id[in] The specific flag ID
-     * @return true if the flag occurred
+     * @brief Allows for a specific integer to be returned if a specific flag has been set
+     * @param id[in] boolean true/false on whether a specific flag has been set.
+     * @return interger unique to the flag set.
      */
     int check_for_buttons();