root/include/propset6.h

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

INCLUDED FROM


   1 #ifndef PROPSET6_H
   2 #define PROPSET6_H
   3 
   4 /*
   5 constants for propset 6
   6 WARNING:
   7 The build uses tools/gen_propset_lua.sed to generate propset6.lua from this file
   8 DO NOT USE MULTILINE COMMENTS AROUND DEFINES
   9 */
  10 
  11 #define PROPCASE_AE_LOCK                         3          // 0 = AE not locked, 1 = AE locked
  12 #define PROPCASE_AF_ASSIST_BEAM                  5          // 0=disabled,  1=enabled
  13 #define PROPCASE_REAL_FOCUS_MODE                 6          // 0 = AF, 1 = Macro, 3 = INF, 4
  14 #define PROPCASE_AF_FRAME                        8          // 1 = FlexiZone, 2 = Face AiAF / Tracking AF
  15 #define PROPCASE_AF_LOCK                         11         // 0 = AF not locked, 1 = AF locked
  16 #define PROPCASE_CONTINUOUS_AF                   12         // 0 = Continuous AF off, 1 = Continuous AF on
  17 #define PROPCASE_FOCUS_STATE                     18         //???
  18 #define PROPCASE_AV2                             22         // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  19 #define PROPCASE_AV                              23         // This values causes the actual aperture value to be overriden
  20 #define PROPCASE_MIN_AV                          25
  21 #define PROPCASE_USER_AV                         26
  22 #define PROPCASE_BRACKET_MODE                    29
  23 #define PROPCASE_BV                              34
  24 #define PROPCASE_SHOOTING_MODE                   49
  25 #define PROPCASE_CUSTOM_SATURATION               55         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  26 #define PROPCASE_QUALITY                         57
  27 #define PROPCASE_CUSTOM_CONTRAST                 59         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  28 #define PROPCASE_LANGUAGE                        61         // Upper byte = language (see default.lua for known values) lowest bit: 0 = NTSC, 1 = PAL
  29 #define PROPCASE_FLASH_SYNC_CURTAIN              64
  30 #define PROPCASE_SUBJECT_DIST2                   65
  31 #define PROPCASE_DATE_STAMP                      66         // 0 = Off, 1 = Date, 2 = Date & Time
  32 #define PROPCASE_DELTA_SV                        79
  33 #define PROPCASE_DIGITAL_ZOOM_MODE               91         // Digital Zoom Mode/State 0 = off/standard, 2 = 1.5x, 3 = 2.0x
  34 #define PROPCASE_DIGITAL_ZOOM_STATE              94         // Digital Zoom Mode/State 0 = Digital Zoom off, 1 = Digital Zoom on
  35 #define PROPCASE_DIGITAL_ZOOM_POSITION           95
  36 #define PROPCASE_DRIVE_MODE                      102
  37 #define PROPCASE_OVEREXPOSURE                    103
  38 #define PROPCASE_DISPLAY_MODE                    105
  39 #define PROPCASE_EV_CORRECTION_1                 107
  40 #define PROPCASE_FLASH_ADJUST_MODE               121
  41 #define PROPCASE_FLASH_FIRE                      122
  42 #define PROPCASE_FLASH_EXP_COMP                  127    // APEX96 units
  43 #define PROPCASE_FOCUS_MODE                      133
  44 #define PROPCASE_FLASH_MANUAL_OUTPUT             141        // !not sure, but required for compile; from propset4
  45 #define PROPCASE_FLASH_MODE                      143        // 0 = Auto, 1 = ON, 2 = OFF
  46 #define PROPCASE_IS_MODE                         145        // 0 = Continuous, 1 = only Shoot, 2 = OFF (elph130)
  47 #define PROPCASE_ISO_MODE                        149
  48 #define PROPCASE_METERING_MODE                   157        // 0 = Evaluative, 1 = Spot, 2 = Center weighted avg
  49 #define PROPCASE_VIDEO_FRAMERATE                 167        // 1=25, 0=30 (elph130), may crash if doesn't match what canon uses for current resolution
  50 #define PROPCASE_VIDEO_RESOLUTION                170        // 4=1280x720, 2=640x480 (elph130) 5=1920x1080 (elph340)
  51 #define PROPCASE_CUSTOM_BLUE                     176        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  52 #define PROPCASE_CUSTOM_GREEN                    177        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  53 #define PROPCASE_CUSTOM_RED                      178        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  54 #define PROPCASE_CUSTOM_SKIN_TONE                179        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  55 #define PROPCASE_MY_COLORS                       187        // 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
  56 #define PROPCASE_ND_FILTER_STATE                 195        // 0 = out, 1 = in
  57 #define PROPCASE_OPTICAL_ZOOM_POSITION           198
  58 #define PROPCASE_EXPOSURE_LOCK                   209     // Old PROPCASE_SHOOTING value - gets set when set_aelock called or AEL button pressed
  59 #define PROPCASE_EV_CORRECTION_2                 210
  60 #define PROPCASE_IS_FLASH_READY                  211
  61 #define PROPCASE_IMAGE_FORMAT                    213        // 0 = RAW, 1 = JPEG, 2 = RAW+JPEG (G16)
  62 #define PROPCASE_RESOLUTION                      221        // 0 = L, 1 = M1, 2 = M2, 4 = S, 7 = Low Light
  63 #define PROPCASE_ORIENTATION_SENSOR              222
  64 #define PROPCASE_TIMER_MODE                      226        // 0 = OFF, 1 = 2 sec, 2 = 10 sec, 3 = Custom
  65 #define PROPCASE_TIMER_DELAY                     227        // timer delay in msec
  66 #define PROPCASE_CUSTOM_SHARPNESS                228        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  67 #define PROPCASE_STITCH_DIRECTION                236        // 0=left>right, 1=right>left. Some cams have more
  68 #define PROPCASE_STITCH_SEQUENCE                 241        // counts shots in stitch sequence, positive=left>right, negative=right>left
  69 #define PROPCASE_SUBJECT_DIST1                   248
  70 #define PROPCASE_SV_MARKET                       249
  71 #define PROPCASE_TV2                             264        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  72 #define PROPCASE_TV                              265        // Need to set this value for overrides to work correctly
  73 #define PROPCASE_USER_TV                         267
  74 #define PROPCASE_WB_MODE                         271        // 0 = Auto, 1 = Daylight, 2 = Cloudy, 3 = Tungsten, 4 = Fluorescent, 5 = Fluorescent H, 7 = Custom
  75 #define PROPCASE_WB_ADJ                          272
  76 #define PROPCASE_SERVO_AF                        298        // 0 = Servo AF off, 1 = Servo AF on
  77 #define PROPCASE_ASPECT_RATIO                    299        // 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1
  78 #define PROPCASE_SHOOTING                        302        // This value appears to work better - gets set to 1 when camera has focused and set exposure, returns to 0 after shot
  79 #define PROPCASE_SV                              346        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  80 #define PROPCASE_GPS                             357        // (CHDKLover, August 2011) - contains a 272 bytes long structure
  81 #define PROPCASE_REVIEW_TIME                     363        // Review time 0 = off, -1 = hold, 100 = quick, otherwise milliseconds
  82 #define PROPCASE_TIMER_SHOTS                     376        // Number of shots for TIMER_MODE=Custom
  83 
  84 // !not sure
  85 //#define PROPCASE_DIGITAL_ZOOM_MODE               91         // Digital Zoom Mode/State 0 = off/standard, 2 = 1.7x, 3 = 2.1x
  86 
  87 #endif

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