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 @0xff63743c, levent 0x20a 9 #define SD_READONLY_IDX 2 10 11 #define USB_MASK 0x01000000 // Found @0xff63744c, levent 0x202 12 #define USB_IDX 2 13 14 #define BATTCOVER_FLAG 0x00800000 // Found @0xff637444, levent 0x205 15 #define BATTCOVER_IDX 2 16 17 #define ANALOG_AV_FLAG 0x00000002 // Found @0xff637384, levent 0x200 (non-inverted logic) 18 #define ANALOG_AV_IDX 0 19 20 #endif