root/platform/ixusizoom_sd30/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 0
   5 #define KEYS_MASK1 0
   6 #define KEYS_MASK2 0x17FF
   7 
   8 #define SD_READONLY_FLAG (0x20000)
   9 #define SD_READONLY_IDX 2
  10 
  11 /*
  12 USB port is special: http://chdk.setepontos.com/index.php?topic=11723.msg114947#msg114947
  13 To use USB remote with the proprietary CS-DC1 cradle you must either switch to record mode using
  14 switch_mode_usb or using the following event proc calls
  15   call_event_proc'UI_RegistDebugEventProc'
  16   call_event_proc'UiEvnt_StartDisguiseCradleStatus'
  17 
  18 Other cradle related bits in physw_status[1] from http://chdk.setepontos.com/index.php?topic=12382.msg122778#msg122778
  19 inside cradle  0xZ0@9AF80
  20 outside cradle 0xZ0@9FF80
  21 
  22 The first 0 is the USB bit which becomes 8 upon USB plug-in.
  23 Z and @ I put for values that fluctuate between two possible ones and seem unrelated. @: C/5   Z: 3/2
  24 Unplugging the power plug changes A to B.
  25 Plugging an earphone cable into the AV plug changes the 9 before the green A to an 8.
  26 */
  27 #define USB_MASK 0x08000000     
  28 #define USB_IDX 1
  29 
  30 #define USB_MMIO 0xc0220204
  31 #endif

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