File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ class LatchingButton : public TwoStateButton
7070
7171 // Status access functions. Call one of these in the "loop" to get the status of the button.
7272 public:
73- // Returns true if the button is latched (locked in the pressed/on state) or false if it is not (off
74- // state).
73+ // Returns true if the button is latched (locked in the pressed/on state) or false if it is
74+ // not (off state).
7575 bool pushed ();
7676
7777 // Other control functions.
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class MomentaryButton : public TwoStateButton
4848
4949 ~MomentaryButton ();
5050
51- // Status access functions. Call one of these in the "loop" to get the status of the button.
51+ // Status access functions. Call in the "loop" to get the status of the button.
5252 public:
5353 // Returns true if the button is currently pressed down and false otherwise.
5454 bool pushed ();
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ class PushEventButton : public TwoStateButton
6565 // Set the starting value. It can be a zero based or one based counter.
6666 void setCaptureType (CAPTURETYPE captureType);
6767
68- // Status access functions. Call one of these in the "loop" to get the status of the button.
68+ // Status access functions. Call in the "loop" to get the status of the button.
6969 public:
70- // Returns true if the button is currently pressed down and false otherwise.
70+ // Returns true on the first call after a button press and false otherwise.
7171 bool pushed ();
7272
7373 private:
You can’t perform that action at this time.
0 commit comments