1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // TEMP new keyboard code causes hangs for unknown reasons, see 4 // http://chdk.setepontos.com/index.php?topic=9005.msg121780#msg121780 5 #define KBD_CUSTOM_ALL 1 6 /* 7 // plaform specific keyboard defines, see core/kbd_common.c for documentation 8 #define KEYS_MASK0 (0x00000000) //Logic OR of group 0 Keymap values 9 #define KEYS_MASK1 (0x2F000000) //Logic OR of group 1 Keymap values 10 #define KEYS_MASK2 (0x00000000) //Logic OR of group 2 Keymap values 11 12 #define SD_READONLY_FLAG 0x00008000 // Found @0xff5ac30c, levent 0x20a 13 #define SD_READONLY_IDX 0 14 #define USB_MASK 0x40000000 // Found @0xff5ac38c, levent 0x202 15 #define USB_IDX 2 16 */ 17 18 #endif