1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 4 #define KEYS_MASK0 0x0000890C 5 #define KEYS_MASK1 0x00000000 6 #define KEYS_MASK2 0x0000FEC0 7 8 #define SD_READONLY_FLAG 0x01000000 // physw_bits.txt, levent 0x30a 0xFF5F76CC 9 #define SD_READONLY_IDX 2 10 11 #define USB_MASK 0x04000000 // physw_bits.txt, levent 0x302 12 #define USB_IDX 2 13 14 #define BATTCOVER_FLAG 0x02000000 // physw_bits.txt, levent 0x305 15 #define BATTCOVER_IDX 2 16 17 #endif