1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 4 #define KEYS_MASK0 0x0000F0C8 5 #define KEYS_MASK1 0x00000000 6 #define KEYS_MASK2 0x0000C360 7 8 #define SD_READONLY_FLAG 0x00400000 // Found @0xff694f54, levent 0x30a 9 #define SD_READONLY_IDX 2 10 #define USB_MASK 0x01000000 // Found @0xff694f64, levent 0x302 11 #define USB_IDX 2 12 #define BATTCOVER_FLAG 0x00800000 // Found @0xff694f5c, levent 0x305 13 #define BATTCOVER_IDX 2 14 #define ANALOG_AV_FLAG 0x00000002 // Found @0xff694e9c, levent 0x300 (non-inverted logic) 15 #define ANALOG_AV_IDX 0 16 17 18 #endif 19