root/include/propset13.h

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

INCLUDED FROM


   1 #ifndef PROPSET13_H
   2 #define PROPSET13_H
   3 
   4 // based on propset 10
   5 
   6 /*
   7 constants for propset 13 - G7X2
   8 WARNING:
   9 The build uses tools/gen_propset_lua.sed to generate propset13.lua from this file
  10 DO NOT USE MULTILINE COMMENTS AROUND DEFINES
  11 */
  12 
  13 #define PROPCASE_AE_LOCK                         3          // 0 = AE not locked, 1 = AE locked
  14 #define PROPCASE_AF_ASSIST_BEAM                  5          // 0=disabled,  1=enabled
  15 #define PROPCASE_REAL_FOCUS_MODE                 6          // 0 = Normal AF, 1 = Macro, 4 = MF
  16 #define PROPCASE_AF_FRAME                        8          // 1 = one point af, 2 = Face AiAF / Tracking AF
  17 #define PROPCASE_AF_LOCK                         11         // 0 = AF not locked, 1 = AF locked (not verified, g7x AF lock just enables MF at current dist)
  18 #define PROPCASE_CONTINUOUS_AF                   12         // 0 = Continuous AF off, 1 = Continuous AF on (g7x)
  19 #define PROPCASE_FOCUS_STATE                     18         // 1 AF done
  20 
  21 #define PROPCASE_AV2                             22         // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  22 #define PROPCASE_AV                              23         // This values causes the actual aperture value to be overriden
  23 #define PROPCASE_MIN_AV                          28         // G7X2 = 28
  24 #define PROPCASE_USER_AV                         29         // updates instantly when setting aperture on cam
  25 
  26 #define PROPCASE_BRACKET_MODE                    33         // 0 = 0ff, 1 = exposure, 2 = focus (MF only) (g7x)
  27 #define PROPCASE_BV                              40         // guessed, but should be this one
  28 #define PROPCASE_SHOOTING_MODE                   55         // 56 would probably show C as distinct mode but no C mode on M10
  29 //#define PROPCASE_CUSTOM_SATURATION               62         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  30 #define PROPCASE_QUALITY                         64
  31 //#define PROPCASE_CUSTOM_CONTRAST                 66         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  32 #define PROPCASE_FLASH_SYNC_CURTAIN              71         // 0 first, 1 second
  33 #define PROPCASE_SUBJECT_DIST2                   72
  34 
  35 #define PROPCASE_DELTA_SV                        86
  36 
  37 #define PROPCASE_DIGITAL_ZOOM_MODE               99         // Digital Zoom Mode/State 0 = off, 1=standard, 2 = 1.5x, 3 = 2.0x
  38 #define PROPCASE_DIGITAL_ZOOM_POSITION           103
  39 #define PROPCASE_DRIVE_MODE                      110        // 0 = single, 1 = cont, 4 = high-speed continuous (G7X2)
  40 #define PROPCASE_OVEREXPOSURE                    111
  41 #define PROPCASE_DISPLAY_MODE                    113
  42 #define PROPCASE_EV_CORRECTION_1                 115
  43 #define PROPCASE_FLASH_ADJUST_MODE               129
  44 #define PROPCASE_FLASH_FIRE                      130
  45 #define PROPCASE_FLASH_EXP_COMP                  135        // APEX96 units
  46 #define PROPCASE_FOCUS_MODE                      141        // 0 = auto / af+mf, 1 = MF
  47 #define PROPCASE_FLASH_MANUAL_OUTPUT             149        // TODO guessed (ps6 had unsure comments too)
  48 #define PROPCASE_FLASH_MODE                      151        // 0 = Auto, 1 = ON, 2 = OFF
  49 
  50 #define PROPCASE_IS_MODE                         153        // 0 = Continuous, 2 = OFF
  51 #define PROPCASE_ISO_MODE                        157
  52 #define PROPCASE_METERING_MODE                   165        // 0 = Evaluative, 1 = Spot, 2 = Center weighted avg 3 partial
  53 #define PROPCASE_VIDEO_FRAMERATE                 175        // 0=30, 7=60 (g7x) 1 25
  54 #define PROPCASE_VIDEO_RESOLUTION                178        // 5=1920x1280, 4=1280x720 2=640x480 (g7x)
  55 //#define PROPCASE_CUSTOM_BLUE                     184        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  56 //#define PROPCASE_CUSTOM_GREEN                    185        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  57 //#define PROPCASE_CUSTOM_RED                      186        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  58 //#define PROPCASE_CUSTOM_SKIN_TONE                187        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  59 #define PROPCASE_ND_FILTER_STATE                 203        // 0 = out, 1 = in
  60 #define PROPCASE_OPTICAL_ZOOM_POSITION           206
  61 #define PROPCASE_EXPOSURE_LOCK                   217        // Old PROPCASE_SHOOTING value - gets set when set_aelock called or AEL button pressed
  62 #define PROPCASE_EV_CORRECTION_2                 218        // g7x ok, ps6 +6
  63 #define PROPCASE_IS_FLASH_READY                  219
  64 #define PROPCASE_IMAGE_FORMAT                    221        // 0 = RAW, 1 = JPEG, 2 = RAW+JPEG (g7x)
  65 #define PROPCASE_RESOLUTION                      229        // 0 = L, 2 = M1, 3 = M2, 5 = S
  66 #define PROPCASE_ORIENTATION_SENSOR              230
  67 #define PROPCASE_TIMER_MODE                      235        // 0 = OFF, 1 = 2 sec, 2 = 10 sec, 3 = Custom
  68 #define PROPCASE_TIMER_DELAY                     236        // timer delay in msec
  69 #define PROPCASE_CUSTOM_SHARPNESS_STRENGTH       509        // Canon Menu slide bar values: 0 - 7
  70 #define PROPCASE_CUSTOM_SHARPNESS_FINENESS       510        // Canon Menu slide bar values: 1 - 5
  71 #define PROPCASE_CUSTOM_SHARPNESS_THRESHOLD      511        // Canon Menu slide bar values: 0 - 7
  72 #define PROPCASE_CUSTOM_CONTRAST                 512        // Canon Menu slide bar values: -4 - 4 (byte value: 252 - 4)
  73 #define PROPCASE_CUSTOM_SATURATION               513        // Canon Menu slide bar values: -4 - 4 (byte value: 252 - 4)
  74 #define PROPCASE_CUSTOM_COLORTONE                514        // Canon Menu slide bar values: -4 - 4 (byte value: 252 - 4)
  75 
  76 #define PROPCASE_SUBJECT_DIST1                   257
  77 #define PROPCASE_SV_MARKET                       258
  78 #define PROPCASE_TV2                             274        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  79 #define PROPCASE_TV                              275        // Need to set this value for overrides to work correctly
  80 #define PROPCASE_USER_TV                         276        //
  81 #define PROPCASE_WB_MODE                         282        // 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
  82 #define PROPCASE_WB_ADJ                          283
  83 #define PROPCASE_SERVO_AF                        309        // 0 = Servo AF off, 1 = Servo AF on
  84 #define PROPCASE_ASPECT_RATIO                    310        // also 404, 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1, 4 = 4:5
  85 #define PROPCASE_SV                              357        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  86 
  87 #define PROPCASE_TIMER_SHOTS                     387        // Number of shots for TIMER_MODE=Custom
  88 
  89 #define PROPCASE_SHOOTING_STATE                  362        // 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
  90 #define PROPCASE_SHOOTING                       1001        // fake, emulated in platform/generic/wrappers.c using SHOOTING_STATE
  91 
  92 #endif

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