1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 4 // plaform specific keyboard defines, see core/kbd_common.c for documentation 5 #define KEYS_MASK0 (0x00056fff) 6 //#define KEYS_MASK0 (0x00050fff) 7 #define KEYS_MASK1 (0x00000000) 8 #define KEYS_MASK2 (0x0000001e) 9 #define SD_READONLY_FLAG 0x20000000 // Found @0xfc5cfc1c, levent 0x20a 10 #define SD_READONLY_IDX 1 11 #define USB_MASK 0x10000000 // Found @0xfc5cfc8c, levent 0x202 12 #define USB_IDX 2 13 #define BATTCOVER_FLAG 0x04000000 // Found @0xfc5cfc84, levent 0x205 14 #define BATTCOVER_IDX 2 15 #define HOTSHOE_FLAG 0x00000800 // Found @0xfc5cfbf4, levent 0x204 16 #define HOTSHOE_IDX 1 17 #endif