Sony prioritymode fix
Sony mode 3 cameras have this setting, but it is uint8 instead of int8. Tested on A7R4/5 and A1M2. This setting allows overriding camera dials via PTP. Most Sony cameras will have an exposure program (e.g M, P, S, A, etc) that can be set via a dial on the camera, normally this cannot be set by PTP, prioritymode allows the exposure program to be changed. Depending on the camera focus mode and drive mode may also be unlocked with this property.
This commit is contained in:
@@ -2314,11 +2314,11 @@ static struct deviceproptableu8 sony_qx_liveviewsize[] = {
|
||||
};
|
||||
GENERIC8TABLE(Sony_QX_LiveViewSize,sony_qx_liveviewsize)
|
||||
|
||||
static struct deviceproptablei8 sony_prioritymode[] = {
|
||||
static struct deviceproptableu8 sony_prioritymode[] = {
|
||||
{ N_("Camera"), 0, 0 },
|
||||
{ N_("Application"), 1, 0 },
|
||||
};
|
||||
GENERICI8TABLE(Sony_PriorityMode,sony_prioritymode)
|
||||
GENERIC8TABLE(Sony_PriorityMode,sony_prioritymode)
|
||||
|
||||
static int
|
||||
_get_Canon_LiveViewSize(CONFIG_GET_ARGS) {
|
||||
@@ -11376,7 +11376,7 @@ static struct submenu camera_settings_menu[] = {
|
||||
{ N_("Menus and Playback"), "menusandplayback", PTP_DPC_NIKON_MenusAndPlayback, PTP_VENDOR_NIKON, PTP_DTC_UINT8, _get_Nikon_MenusAndPlayback, _put_Nikon_MenusAndPlayback },
|
||||
{ N_("External Recording Control"), "externalrecordingcontrol", PTP_DPC_NIKON_ExternalRecordingControl, PTP_VENDOR_NIKON, PTP_DTC_UINT8, _get_Nikon_OffOn_UINT8,_put_Nikon_OffOn_UINT8 },
|
||||
{ N_("Camera Action"), "cameraaction", 0xd208, PTP_VENDOR_FUJI, PTP_DTC_UINT16, _get_Fuji_Action, _put_Fuji_Action },
|
||||
{ N_("Priority Mode"), "prioritymode", PTP_DPC_SONY_PriorityMode, PTP_VENDOR_SONY, PTP_DTC_INT8, _get_Sony_PriorityMode, _put_Sony_PriorityMode },
|
||||
{ N_("Priority Mode"), "prioritymode", PTP_DPC_SONY_PriorityMode, PTP_VENDOR_SONY, PTP_DTC_UINT8, _get_Sony_PriorityMode, _put_Sony_PriorityMode },
|
||||
{ N_("Priority Mode"), "prioritymode", PTP_DPC_FUJI_PriorityMode, PTP_VENDOR_FUJI, PTP_DTC_UINT16, _get_Fuji_PriorityMode, _put_Fuji_PriorityMode },
|
||||
|
||||
/* virtual */
|
||||
|
||||
Reference in New Issue
Block a user