root/include/propset10.h

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

INCLUDED FROM


   1 #ifndef PROPSET10_H
   2 #define PROPSET10_H
   3 
   4 // based on propset 7
   5 
   6 /*
   7 constants for propset 10
   8 Guessed, untested entries are denoted by [m10:untested], they may be completely unusable
   9 WARNING:
  10 The build uses tools/gen_propset_lua.sed to generate propset10.lua from this file
  11 DO NOT USE MULTILINE COMMENTS AROUND DEFINES
  12 */
  13 
  14 #define PROPCASE_AE_LOCK                         3          // 0 = AE not locked, 1 = AE locked
  15 #define PROPCASE_AF_ASSIST_BEAM                  5          // 0=disabled,  1=enabled
  16 #define PROPCASE_REAL_FOCUS_MODE                 6          // 0 = AF, 1 = Macro, 3 = INF, 4 = MF. Always zero on M cameras
  17 #define PROPCASE_AF_FRAME                        8          // 1 = one point af, 2 = Face AiAF / Tracking AF
  18 #define PROPCASE_AF_LOCK                         11         // [m10:untested] 0 = AF not locked, 1 = AF locked (not verified, g7x AF lock just enables MF at current dist)
  19 #define PROPCASE_CONTINUOUS_AF                   12         // 0 = Continuous AF off, 1 = Continuous AF on (g7x)
  20 #define PROPCASE_FOCUS_STATE                     18         // 1 AF done
  21 // m10 both AV, not verified which does over and which does exif
  22 #define PROPCASE_AV2                             22         // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  23 #define PROPCASE_AV                              23         // This values causes the actual aperture value to be overriden
  24 #define PROPCASE_MIN_AV                          28         // M10: 24, 25, 27, 28 (set only after halfshoot) elph180: (27 varies with ND, 24-26=62664)
  25 #define PROPCASE_USER_AV                         29         // updates instantly when setting aperture on cam with kit lens
  26 // no bracketing on m10, propcase assumed to be unchanged
  27 #define PROPCASE_BRACKET_MODE                    33         // [m10:untested] 0 = 0ff, 1 = exposure, 2 = focus (MF only) (g7x)
  28 #define PROPCASE_BV                              40         // guessed, but should be this one
  29 #define PROPCASE_SHOOTING_MODE                   55         // 56 would probably show C as distinct mode but no C mode on M10
  30 #define PROPCASE_CUSTOM_SATURATION               62         // [m10:untested] Canon Menu slide bar values: 255, 254, 0, 1, 2
  31 #define PROPCASE_QUALITY                         64         // [m10:untested]
  32 #define PROPCASE_CUSTOM_CONTRAST                 66         // [m10:untested] Canon Menu slide bar values: 255, 254, 0, 1, 2
  33 #define PROPCASE_LANGUAGE                        68         // Upper byte = language (see default.lua for known values) lowest bit: 0 = NTSC, 1 = PAL
  34 #define PROPCASE_FLASH_SYNC_CURTAIN              71         // 0 first, 1 second
  35 #define PROPCASE_SUBJECT_DIST2                   72         // [m10:zero]
  36 // TODO M10 has no date stamp option
  37 //#define PROPCASE_DATE_STAMP
  38 #define PROPCASE_DELTA_SV                        86         // [m10:untested]
  39 // no digi zoom on m10
  40 #define PROPCASE_DIGITAL_ZOOM_MODE               99         // [m10:untested] Digital Zoom Mode/State 0 = off, 1=standard, 2 = 1.5x, 3 = 2.0x
  41 // #define PROPCASE_DIGITAL_ZOOM_STATE
  42 #define PROPCASE_DIGITAL_ZOOM_POSITION           103        // [m10:untested] also 269?
  43 #define PROPCASE_DRIVE_MODE                      110        // 0 = single, 1 = cont
  44 #define PROPCASE_OVEREXPOSURE                    111        // [m10:untested]
  45 #define PROPCASE_DISPLAY_MODE                    113
  46 #define PROPCASE_EV_CORRECTION_1                 115
  47 #define PROPCASE_FLASH_ADJUST_MODE               129        // [m10:untested]
  48 #define PROPCASE_FLASH_FIRE                      130        // [m10:untested]
  49 #define PROPCASE_FLASH_EXP_COMP                  135        // APEX96 units
  50 #define PROPCASE_FOCUS_MODE                      141        // 0 = auto / af+mf, 1 = MF
  51 #define PROPCASE_FLASH_MANUAL_OUTPUT             149        // TODO guessed (ps6 had unsure comments too)
  52 #define PROPCASE_FLASH_MODE                      151        // 0 = Auto, 1 = ON, 2 = OFF
  53 // TODO values changed?
  54 #define PROPCASE_IS_MODE                         153        // 0 = Continuous, 2 = OFF
  55 #define PROPCASE_ISO_MODE                        157
  56 #define PROPCASE_METERING_MODE                   165        // 0 = Evaluative, 1 = Spot, 2 = Center weighted avg 3 partial
  57 #define PROPCASE_VIDEO_FRAMERATE                 175        // 0=30, 7=60 (g7x) 1 25
  58 #define PROPCASE_VIDEO_RESOLUTION                178        // 5=1920x1280, 4=1280x720 2=640x480 (g7x)
  59 #define PROPCASE_CUSTOM_BLUE                     184        // [m10:untested] Canon Menu slide bar values: 255, 254, 0, 1, 2
  60 #define PROPCASE_CUSTOM_GREEN                    185        // [m10:untested] ??Canon Menu slide bar values: 255, 254, 0, 1, 2
  61 #define PROPCASE_CUSTOM_RED                      186        // [m10:untested] Canon Menu slide bar values: 255, 254, 0, 1, 2
  62 #define PROPCASE_CUSTOM_SKIN_TONE                187        // [m10:untested] Canon Menu slide bar values: 255, 254, 0, 1, 2
  63 #define PROPCASE_MY_COLORS                       195        // [m10:untested] 0 = Off, 1 = Vivid, 2 = Neutral, 3 = B/W, 4 = Sepia, 5 = Positive Film, 6 = Lighter Skin Tone, 7 = Darker Skin Tone, 8 = Vivid Red, 9 = Vivid Green, 10 = Vivid Blue, 11 = Custom Color
  64 #define PROPCASE_ND_FILTER_STATE                 203        // [m10:untested] 0 = out, 1 = in
  65 #define PROPCASE_OPTICAL_ZOOM_POSITION           206        // [m10:zero]
  66 #define PROPCASE_EXPOSURE_LOCK                   217        // Old PROPCASE_SHOOTING value - gets set when set_aelock called or AEL button pressed
  67 #define PROPCASE_EV_CORRECTION_2                 218        // g7x ok, ps6 +6
  68 #define PROPCASE_IS_FLASH_READY                  219        // [m10:untested] not certain
  69 #define PROPCASE_IMAGE_FORMAT                    221        // 0 = RAW, 1 = JPEG, 2 = RAW+JPEG (g7x)
  70 #define PROPCASE_RESOLUTION                      229        // 0 = L, 2 = M1, 3 = M2, 5 = S
  71 #define PROPCASE_ORIENTATION_SENSOR              230
  72 #define PROPCASE_TIMER_MODE                      234        // 0 = OFF, 1 = 2 sec, 2 = 10 sec, 3 = Custom
  73 #define PROPCASE_TIMER_DELAY                     235        // timer delay in msec
  74 #define PROPCASE_CUSTOM_SHARPNESS                236        // [m10:untested] Canon Menu slide bar values: 255, 254, 0, 1, 2
  75 // TODO guessed, no stitch on m10
  76 //#define PROPCASE_STITCH_DIRECTION                244        // [m10:untested] 0=left>right, 1=right>left. Some cams have more
  77 //#define PROPCASE_STITCH_SEQUENCE                 249        // [m10:untested] counts shots in stitch sequence, positive=left>right, negative=right>left
  78 #define PROPCASE_SUBJECT_DIST1                   256        // [m10:zero]
  79 #define PROPCASE_SV_MARKET                       257
  80 #define PROPCASE_TV2                             273        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  81 #define PROPCASE_TV                              274        // Need to set this value for overrides to work correctly
  82 #define PROPCASE_USER_TV                         276        //
  83 #define PROPCASE_WB_MODE                         281        // 0 = Auto, 1 = Daylight, 2 = Shade, 3 = Cloudy, 4 = Tungsten, 5 = Fluorescent, 7 = flash, 11 = under water, 6 = Fluorescent H, 9 = Custom 1, 10 = custom 2
  84 #define PROPCASE_WB_ADJ                          282        // [m10:untested]
  85 #define PROPCASE_SERVO_AF                        308        // 0 = Servo AF off, 1 = Servo AF on
  86 #define PROPCASE_ASPECT_RATIO                    309        // also 404, 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1, 4 = 4:5
  87 #define PROPCASE_SV                              356        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  88 // TODO no GPS on M10
  89 // #define PROPCASE_GPS
  90 #define PROPCASE_REVIEW_TIME                     373        // Review time 0 = off, -1 = hold, 100 = quick, otherwise milliseconds
  91 #define PROPCASE_TIMER_SHOTS                     386        // Number of shots for TIMER_MODE=Custom
  92 
  93 //
  94 #define PROPCASE_SHOOTING_STATE                  361        // Goes to 1 soon after half press, 2 around when override hook called, 3 after shot start, back to 2 when shoot_full released, back to 0 when half released
  95 #define PROPCASE_SHOOTING                       1001        // fake, emulated in platform/generic/wrappers.c using SHOOTING_STATE
  96 
  97 #endif

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