#include <config.h>
#include <tm.h>
Include dependency graph for dkey.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | KEY_ONOFF 0x01 |
| the on/off key is pressed | |
| #define | KEY_RUN 0x02 |
| the run key is pressed | |
| #define | KEY_VIEW 0x04 |
| the view key is pressed | |
| #define | KEY_PRGM 0x08 |
| the program key is pressed | |
| #define | KEY_ANY 0x0f |
| any of the keys | |
Functions | |
| wakeup_t | dkey_pressed (wakeup_t data) |
| wakeup if any of the given keys is pressed. | |
| wakeup_t | dkey_released (wakeup_t data) |
| wakeup if all of the given keys are released. | |
| int | getchar () |
| wait for keypress and return key code. | |
Variables | |
| volatile unsigned char | dkey_multi |
| the currently active keys | |
| volatile unsigned char | dkey |
| the current key | |
Definition in file dkey.h.
|
|
any of the keys
|
|
|
the on/off key is pressed
|
|
|
the program key is pressed
|
|
|
the run key is pressed
|
|
|
the view key is pressed
|
|
|
wakeup if any of the given keys is pressed.
|
|
|
wakeup if all of the given keys are released.
|
|
|
wait for keypress and return key code. key combinations not admissible. |
|
|
the current key this is not a bitmask - at most one key at a time. |
|
|
the currently active keys this is a bitmask - multi-key combinations are admissible. |
|
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |
1.3.5