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 (0x0001E30E) 6 #define KEYS_MASK1 (0x0000042C) 7 #define KEYS_MASK2 (0x0000001E) 8 9 // from stubs_entry.S 10 #define SD_READONLY_FLAG 0x00000100 // Found @0xfc5bfae0, levent 0x20a 11 #define SD_READONLY_IDX 1 12 #define USB_MASK 0x00400000 // Found @0xfc5bfb78, levent 0x202 13 #define USB_IDX 2 14 #define HDMI_HPD_FLAG 0x00000020 15 #define HDMI_HPD_IDX 0 16 #define ANALOG_AV_FLAG 0x00008000 // levent 0x200 17 #define ANALOG_AV_IDX 1 18 19 // standard fw doesn't care about bat door, doesn't seem to have switch 20 /* 21 #define BATTCOVER_FLAG 0x00200000 // Found @0xfc5bfb70, levent 0x205 22 #define BATTCOVER_IDX 2 23 */ 24 25 #endif