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 (0x00000000) 6 // original kbd.c code used 0xc0000000 for MASK1. This caused shooting mode to change when entering alt mode 7 // possible copy/paste error from a560 8 #define KEYS_MASK1 (0x00000000) 9 // note bit 0x800 is not in key map, but camera reportedly doesn't boot if omitted 10 #define KEYS_MASK2 (0x1FFF) 11 12 #define SD_READONLY_IDX 2 13 #define SD_READONLY_FLAG 0x20000 14 15 #define USB_IDX 2 16 #define USB_MASK (0x40000) 17 #endif