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 0x30000000 6 #define KEYS_MASK1 0x00000000 7 #define KEYS_MASK2 0x00030330 8 9 // Micro SD, no read only bit 10 #define KBD_SKIP_READONLY_BIT 11 //#define SD_READONLY_IDX 12 //#define SD_READONLY_FLAG 13 // uses SD door for autoboot. SD door is different from battery door 14 #define SD_DOOR_OVERRIDE 1 15 #define SD_DOOR_FLAG 0x00080000 // SD card door switch 16 #define SD_DOOR_IDX 2 17 18 #define USB_MASK 0x10000000 19 #define USB_IDX 2 20 21 // simulate video button with levents 22 #define KBD_SIMULATE_VIDEO_KEY 1 23 24 #endif