Go to the source code of this file.
Defines | |
| #define | BUTTON_ONOFF 0x0002 |
| the on/off button | |
| #define | BUTTON_RUN 0x0004 |
| the run button | |
| #define | BUTTON_VIEW 0x4000 |
| the view button | |
| #define | BUTTON_PROGRAM 0x8000 |
| the program button | |
| #define | RELEASED(state, button) ((state) & (button)) |
| true if any of the specified buttons is released | |
| #define | PRESSED(state, button) (!RELEASED(state,button)) |
| true if all of the specified buttons are pressed | |
Functions | |
| int | dbutton (void) |
| get button states | |
Definition in file dbutton.h.
|
|
the on/off button
Definition at line 42 of file dbutton.h. Referenced by kmain(). |
|
|
the program button
Definition at line 45 of file dbutton.h. Referenced by kmain(). |
|
|
the run button
|
|
|
the view button
|
|
|
true if all of the specified buttons are pressed
Definition at line 56 of file dbutton.h. Referenced by kmain(). |
|
|
true if any of the specified buttons is released
|
|
|
get button states masks as defined above Definition at line 67 of file dbutton.h. References __asm__(). Referenced by kmain(). |
1.3.9.1