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 6 #define KEYS_MASK0 (0x000FFDE0) //Logic OR of group 0 Keymap values 7 #define KEYS_MASK1 (0x00000000) //Logic OR of group 1 Keymap values 8 #define KEYS_MASK2 (0x00000360) //Logic OR of group 2 Keymap values 9 10 #define SD_READONLY_FLAG 0x02000000 // Found @0xff63ef6c, levent 0x20a 11 #define SD_READONLY_IDX 2 12 #define USB_MASK 0x10000000 // Found @0xff63ef7c, levent 0x202 13 #define USB_IDX 2 14 15 #define BATTCOVER_FLAG 0x04000000 // Found @0xff63ef74, levent 0x205 16 #define BATTCOVER_IDX 2 17 18 #endif