1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 5 #define KEYS_MASK0 (0x00000000) 6 // KEYS_MASK1 is a variable, needed by the extra button hack 7 #define KEYS_MASK1 keys_mask1 8 #define KEYS_MASK2 (0x153F) 9 10 #define SD_READONLY_FLAG (0x20000) 11 #define SD_READONLY_IDX 2 12 13 #define USB_MASK (0x40000) 14 #define USB_IDX 2 15 16 extern int keys_mask1; 17 18 // non-standard key state update 19 #define KBD_CUSTOM_UPDATE_KEY_STATE 1 20 #endif