1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 4 // plaform specific keyboard defines, see core/kbd_common.c for documentation 5 #define KEYS_MASK0 (0x0001E30E) 6 #define KEYS_MASK1 (0x0000003C) 7 #define KEYS_MASK2 (0x0000001E) 8 9 // physw_event_table 0xfc5693dc Found @0xfc06e124 10 // Values below go in 'platform_kbd.h': 11 #define SD_READONLY_FLAG 0x20000000 // Found @0xfc569464, levent 0x20a 12 #define SD_READONLY_IDX 1 13 #define USB_MASK 0x10000000 // Found @0xfc5694e4, levent 0x202 14 #define USB_IDX 2 15 16 /* 17 // standard fw doesn't care about bat door, doesn't seem to have switch 18 #define BATTCOVER_FLAG 0x04000000 // Found @0xfc5694dc, levent 0x205 19 #define BATTCOVER_IDX 2 20 */ 21 22 23 #endif