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 0x0000DF42 //Logic OR of group 0 Keymap values KEY_POWER is not included,comment out this in kbd.c 6 #define KEYS_MASK1 0x0000 //Logic OR of group 1 Keymap values 7 #define KEYS_MASK2 0x00000033 //Logic OR of group 2 Keymap values 0x00000036 8 9 #define SD_READONLY_FLAG 0x02000000 // Found @0xFFBE3A2C, levent 0x30a 10 #define SD_READONLY_IDX 2 11 #define USB_MASK 0x10000000 // Found @0xFFBE3A3C, levent 0x302 12 #define USB_IDX 2 13 #define BATTCOVER_FLAG 0x04000000 // Found @0xFFBE3A34, levent 0x305 14 #define BATTCOVER_IDX 2 15 #define ANALOG_AV_FLAG 0x00002000 // Found @0xffbe39dc, levent 0x300 (non-inverted logic) 16 #define ANALOG_AV_IDX 0 17 18 #endif 19