44 #define KEY_ONOFF 0x01 65 extern volatile unsigned char dkey;
int getchar()
wait for keypress and return key code.
kernel configuration file
wakeup_t dkey_released(wakeup_t data)
wakeup if all of the given keys are released.
volatile unsigned char dkey_multi
the currently active keys
unsigned long wakeup_t
wakeup data area type
Interface: task management.
volatile unsigned char dkey
the current key
wakeup_t dkey_pressed(wakeup_t data)
wakeup if any of the given keys is pressed.