root/platform/ixus300_sd4000/platform_kbd.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef PLATFORM_KBD_H
   2 #define PLATFORM_KBD_H
   3 // plaform specific keyboard defines, see core/kbd_common.c for documentation
   4 #define KEYS_MASK0 (0x0000490F)     // physw_status[0]
   5 // override key and feather bits to avoid feather osd messing up chdk display in ALT mode
   6 #define KEYS_MASK1 (0x00000FF0)     // physw_status[1], override 0xF0 (keys) + 0xF00 (feather)
   7 #define KEYS_MASK2 (0x00000000)     // physw_status[2]
   8 
   9 #define SD_READONLY_FLAG    (0x00020000)    // SD-Card Lock Status (locked / unlocked)
  10 #define SD_READONLY_IDX     2
  11 
  12 #define USB_MASK            (0x00080000)    // USB-Power (triggered around 3,5V)
  13 #define USB_IDX  2
  14 #endif

/* [<][>][^][v][top][bottom][index][help] */