1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 5 #define KEYS_MASK0 (0x80000000) //Logic OR of group 0 Keymap values 6 #define KEYS_MASK1 (0xF8800001) //Logic OR of group 1 Keymap values 7 #define KEYS_MASK2 (0x000030C9) //Logic OR of group 2 Keymap values 8 9 #define SD_READONLY_FLAG 0x02000000 // Found @0xffba4b8c, levent 0x20a 10 #define SD_READONLY_IDX 2 11 #define USB_MASK 0x10000000 // Found @0xffba4b9c, levent 0x202 12 #define USB_IDX 2 13 #define HDMI_HPD_FLAG 0x20000000 14 #define HDMI_HPD_IDX 0 15 #define ANALOG_AV_FLAG 0x00002000 // levent 0x200 16 #define ANALOG_AV_IDX 0 17 18 #endif