pls take a look at the following program segment
#define PF_IDLE 0
#define PF_GETKEYS 1
#define KEY_WAKEUP 0
#define KEY_F1 1
#define KEY_F2 2
#define KEY_F3 3
can anyone tell me what are the numbers at the end of each of the lines for?
Printable View
pls take a look at the following program segment
#define PF_IDLE 0
#define PF_GETKEYS 1
#define KEY_WAKEUP 0
#define KEY_F1 1
#define KEY_F2 2
#define KEY_F3 3
can anyone tell me what are the numbers at the end of each of the lines for?
They're for whatever the hell they want them to be for. Any place you see "PF_IDLE" in the program, mentally subsitute it for the value "0".
Quzah.