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