1 // G16 2 #ifndef PLATFORM_KBD_H 3 #define PLATFORM_KBD_H 4 5 // plaform specific keyboard defines, see core/kbd_common.c for documentation 6 7 #define SD_READONLY_FLAG 0x20000000 // Found @0xfc571b08, levent 0x20a 8 #define SD_READONLY_IDX 1 9 10 #define USB_MASK 0x10000000 // Found @0xfc571b38, levent 0x202 11 #define USB_IDX 2 12 13 #define BATTCOVER_FLAG 0x00000200 // Found @0xfc571b18, levent 0x205 14 #define BATTCOVER_IDX 2 15 16 #define HOTSHOE_FLAG 0x00000010 // Found @0xfc571ac0, levent 0x204 17 #define HOTSHOE_IDX 1 18 19 #define KEYS_MASK0 (0x000D3FFE) 20 #define KEYS_MASK1 (0x00000000) 21 #define KEYS_MASK2 (0x00000000) 22 23 #endif