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 KBD_USB_OVERRIDE_FUNC 1 8 #define KEYS_MASK0 0 9 #define KEYS_MASK1 0x2FFE 10 #define KEYS_MASK2 0 11 12 // not used, copied from original kbd.c code 13 //#define SD_READONLY_FLAG (0x20000) 14 15 #define USB_MASK 0x40 16 17 #define USB_MMIO 0xc0220204 18 #endif