From f118d5f1633a6a28fc4c1ce48a26cac16da3c87e Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Sun, 7 Jun 2026 17:24:45 +0200 Subject: [PATCH] feat: improve support for Nikon D780 --- camlibs/ptp2/config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index 94c499530..48a14e879 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -1463,6 +1463,7 @@ static struct deviceproptableu16 whitebalance[] = { { N_("Color Temperature"), 0x8012, PTP_VENDOR_NIKON }, { N_("Preset"), 0x8013, PTP_VENDOR_NIKON }, { N_("Off"), 0x8014, PTP_VENDOR_NIKON }, + { N_("Flash"), 0x8015, PTP_VENDOR_NIKON }, { N_("Natural light auto"), 0x8016, PTP_VENDOR_NIKON }, { N_("Fluorescent Lamp 1"), 0x8001, PTP_VENDOR_FUJI }, @@ -11800,6 +11801,7 @@ static struct submenu capture_settings_menu[] = { { N_("Live View Exposure Preview"), "liveviewexposurepreview", PTP_DPC_NIKON_LiveViewExposurePreview, PTP_VENDOR_NIKON, PTP_DTC_UINT8, _get_Nikon_OffOn_UINT8, _put_Nikon_OffOn_UINT8 }, { N_("Live View Image Zoom Ratio"), "liveviewimagezoomratio", PTP_DPC_NIKON_LiveViewImageZoomRatio, PTP_VENDOR_NIKON, PTP_DTC_UINT8, _get_Nikon_LiveViewImageZoomRatio, _put_Nikon_LiveViewImageZoomRatio }, { N_("Live View White Balance"), "liveviewwhitebalance", PTP_DPC_NIKON_LiveViewWhiteBalance, PTP_VENDOR_NIKON, PTP_DTC_UINT16, _get_WhiteBalance, _put_WhiteBalance }, + { N_("Movie White Balance"), "moviewhitebalance", PTP_DPC_NIKON_MovieWhiteBalance, PTP_VENDOR_NIKON, PTP_DTC_UINT16, _get_WhiteBalance, _put_WhiteBalance }, { N_("Live View Size"), "liveviewsize", PTP_DPC_FUJI_LiveViewImageSize, PTP_VENDOR_FUJI, PTP_DTC_UINT16, _get_Fuji_LiveViewSize, _put_Fuji_LiveViewSize }, { N_("Live View Size"), "liveviewsize", PTP_DPC_SONY_QX_LiveviewResolution, PTP_VENDOR_SONY, PTP_DTC_UINT8, _get_Sony_QX_LiveViewSize, _put_Sony_QX_LiveViewSize }, { N_("Live View Size"), "liveviewsize", PTP_DPC_CANON_EOS_EVFOutputDevice, PTP_VENDOR_CANON, PTP_DTC_UINT32, _get_Canon_LiveViewSize, _put_Canon_LiveViewSize },