Quote:
|
Originally Posted by GHW_Chronic
I found that there is a problem with just adding numbers onto the end.
|
Likewise *nods*
on a side note:
With the menu keys, I perfer doing this
Code:
#define MENU_KEY_1 (1<<0)
#define MENU_KEY_2 (1<<1)
#define MENU_KEY_3 (1<<2)
#define MENU_KEY_4 (1<<3)
#define MENU_KEY_5 (1<<4)
#define MENU_KEY_6 (1<<5)
#define MENU_KEY_7 (1<<6)
#define MENU_KEY_8 (1<<7)
#define MENU_KEY_9 (1<<8)
#define MENU_KEY_0 (1<<9)
and then doing
Code:
key = MENU_KEY_0|MENU_KEY_1
Cleaner IMHO.
__________________