root/platform/d10/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 
   5 #define KEYS_MASK0 0x00000000
   6 #define KEYS_MASK1 0xA0000000
   7 #define KEYS_MASK2 0x0FFF
   8 
   9 #define SD_READONLY_IDX  2
  10 #define SD_READONLY_FLAG 0x20000
  11 #define USB_MASK 0x80000
  12 #define USB_IDX  2
  13 
  14 /*
  15 battery door switch, 0: door open
  16 forcing to one allows camera to run with door open.
  17 Informational only for now,
  18 making the camera boot with door open requires some ugly changes in boot.c
  19 see http://chdk.setepontos.com/index.php?topic=5744.0
  20 found via GetBatteryCoverClose (which looks in a table that tells it the physw word and bit)
  21 */
  22 #define BATTCOVER_IDX  2
  23 #define BATTCOVER_FLAG 0x8000
  24 
  25 #define ANALOG_AV_FLAG      0x00002000 // Found @0xffad6268, levent 0x900 (non-inverted logic)
  26 #define ANALOG_AV_IDX       1
  27 
  28 #endif

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