1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 5 #define KEYS_MASK0 (0x00000000) 6 // KEYS_MASK1 is a variable, needed by the extra button hack 7 #define KEYS_MASK1 keys_mask1 8 #define KEYS_MASK2 (0x4EEF) 9 10 #define SD_READONLY_FLAG 0x00020000 // Found @0xffaeeb8c, levent 0x90a 11 #define SD_READONLY_IDX 2 12 #define USB_MASK 0x00080000 // Found @0xffaeeba4, levent 0x902 13 #define USB_IDX 2 14 15 extern int keys_mask1; 16 #endif