AbleButtons V0.2.0
Lightweight button library for Arduino.
 
Loading...
Searching...
No Matches
CheckList.cpp File Reference

Check the ButtonList::all*() and ButtonList::any(). More...

#include "Checks.h"
#include "Utils.h"

Go to the source code of this file.

Functions

void checkButtonListSetup ()
 Check initial setup of the button list. More...
 
void checkButtonListJustPressed (Button *btn)
 Check ButtonList when button just pressed. More...
 
void checkButtonListJustReleased (Button *btn)
 Check ButtonList when button just released. More...
 
void checkButtonListJustHeld (Button *btn)
 Check ButtonList when button just held. More...
 
void checkButtonListJustIdle (Button *btn)
 Check ButtonList when button just idle. More...
 
void checkButtonListJustClicked (Button *btn)
 Check ButtonList when button just clicked. More...
 
void checkButtonListJustDoubleClicked (Button *btn)
 Check ButtonList when button just double-clicked. More...
 
void checkButtonListIntegrity ()
 Check integrity of ButtonList invariants (always hold true). More...
 

Detailed Description

Check the ButtonList::all*() and ButtonList::any().

Definition in file CheckList.cpp.

Function Documentation

◆ checkButtonListIntegrity()

void checkButtonListIntegrity ( )

Check integrity of ButtonList invariants (always hold true).

Definition at line 123 of file CheckList.cpp.

◆ checkButtonListJustClicked()

void checkButtonListJustClicked ( Button btn)

Check ButtonList when button just clicked.

Parameters
btnThe button just clicked.

Definition at line 107 of file CheckList.cpp.

◆ checkButtonListJustDoubleClicked()

void checkButtonListJustDoubleClicked ( Button btn)

Check ButtonList when button just double-clicked.

Parameters
btnThe button just double-clicked.

Definition at line 116 of file CheckList.cpp.

◆ checkButtonListJustHeld()

void checkButtonListJustHeld ( Button btn)

Check ButtonList when button just held.

Parameters
btnThe button just held.

Definition at line 89 of file CheckList.cpp.

◆ checkButtonListJustIdle()

void checkButtonListJustIdle ( Button btn)

Check ButtonList when button just idle.

Parameters
btnThe button just idle.

Definition at line 98 of file CheckList.cpp.

◆ checkButtonListJustPressed()

void checkButtonListJustPressed ( Button btn)

Check ButtonList when button just pressed.

Parameters
btnThe button just pressed.

Definition at line 40 of file CheckList.cpp.

◆ checkButtonListJustReleased()

void checkButtonListJustReleased ( Button btn)

Check ButtonList when button just released.

Parameters
btnThe button just released.

Definition at line 67 of file CheckList.cpp.

◆ checkButtonListSetup()

void checkButtonListSetup ( )

Check initial setup of the button list.

Definition at line 12 of file CheckList.cpp.