1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 // Ignores power button 5 #define KEYS_MASK0 (0x00000ce3) 6 #define KEYS_MASK1 (0x00b00000) 7 #define KEYS_MASK2 (0x00005000) 8 9 #define SD_READONLY_FLAG 0x02000000 // Found @0xff5b8984, levent 0x20a 10 #define SD_READONLY_IDX 1 11 12 #define USB_MASK 0x10000000 // Found @0xff5b89c4, levent 0x202 13 #define USB_IDX 2 14 15 #define BATTCOVER_FLAG 0x04000000 // Found @0xff5b89b4, levent 0x205 16 #define BATTCOVER_IDX 2 17 #endif