1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 // override key and feather bits to avoid feather osd messing up chdk display in ALT mode 5 #define KEYS_MASK0 (0x000FBD40) //Logic OR of group 0 Keymap values 6 #define KEYS_MASK1 (0x00000000) //Logic OR of group 1 Keymap values 7 #define KEYS_MASK2 (0x00000608) //Logic OR of group 2 Keymap values 8 9 #define SD_READONLY_FLAG 0x02000000 // Found @0xff568748, levent 0x20a sx510 101a 10 #define SD_READONLY_IDX 2 11 #define USB_MASK 0x10000000 // Found @0xff568758, levent 0x202 sx510 101a 12 #define USB_IDX 2 13 14 #endif