diff --git a/PS3BT.h b/PS3BT.h index b6b76225..54edad59 100644 --- a/PS3BT.h +++ b/PS3BT.h @@ -67,9 +67,16 @@ public: virtual void Reset(); // Use this to reset the service virtual void disconnect(); // Use this void to disconnect any of the controllers - /* PS3 Controller Commands */ + /* PS3 Controller Commands */ + /* + getButtonPress will return true as long as the button is held down + While getButtonClick will only return it once + So you instance if you need to increase a variable once you would use getButtonClick, + but if you need to drive a robot forward you would use getButtonPress + */ bool getButtonPress(Button b); bool getButtonClick(Button b); + uint8_t getAnalogButton(AnalogButton a); uint8_t getAnalogHat(AnalogHat a); int16_t getSensor(Sensor a);