1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 // platform code handles reading, updating physw 5 #define KBD_CUSTOM_UPDATE_KEY_STATE 1 6 #define KBD_CUSTOM_UPDATE_PHYSW_BITS 1 7 #define KEYS_MASK0 0 8 #define KEYS_MASK1 0x2FFE 9 #define KEYS_MASK2 0 10 11 // not used, copied from original kbd.c code 12 //#define SD_READONLY_FLAG (0x20000) 13 //#define USB_IDX 1 14 15 #define USB_MASK 0x40 16 17 #define USB_MMIO 0xc0220204 18 #endif