Defines | |||
#define | BUTTON_ONOFF | ||
the on/off button. | |||
#define | BUTTON_RUN | ||
the run button. | |||
#define | BUTTON_VIEW | ||
the view button. | |||
#define | BUTTON_PROGRAM | ||
the program button. | |||
#define | RELEASED (state,button) | ||
true if any of the specified buttons is released. | |||
#define | PRESSED (state,button) | ||
true if all of the specified buttons are pressed. | |||
Functions | |||
int | dbutton (void) | ||
get button states. More... |
#define BUTTON_ONOFF () |
the on/off button.
#define BUTTON_RUN () |
the run button.
#define BUTTON_VIEW () |
the view button.
#define BUTTON_PROGRAM () |
the program button.
#define RELEASED (state, button) |
true if any of the specified buttons is released.
#define PRESSED (state, button) |
true if all of the specified buttons are pressed.
int dbutton (void) [inline]
|
get button states.
masks as defined above