1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 #define KEYS_MASK0 (0x00802182) // physw_status[0] 5 // override key and feather bits to avoid feather osd messing up chdk display in ALT mode 6 // manual confirms this camera has touch wheel feature 7 #define KEYS_MASK1 (0x000FFC05) 8 #define KEYS_MASK2 (0x00000000) // physw_status[2] 9 10 #define SD_READONLY_FLAG 0x00020000 // Found @0xffb65924, levent 0x90a 11 #define SD_READONLY_IDX 2 12 13 #define USB_MASK 0x00080000 // Found @0xffb6592c, levent 0x902 14 #define USB_IDX 2 15 #endif