summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2023-04-24 11:06:58 +0200
committerMarcus Meissner <marcus@jet.franken.de>2023-04-24 11:06:58 +0200
commit0d2b455ced25d56db734e6d180d56545be2def38 (patch)
tree57261a37bfa4d46678a294e69541937956cb3e58
parent893122bf80c57ccaff77a9641a330f44d2e5b86a (diff)
downloadlibgphoto2-master.tar.gz
allow trigger capture for panasonicHEADmaster
-rw-r--r--camlibs/ptp2/library.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c
index fd5c7f1a4..85806f41a 100644
--- a/camlibs/ptp2/library.c
+++ b/camlibs/ptp2/library.c
@@ -3021,6 +3021,11 @@ camera_abilities (CameraAbilitiesList *list)
(strstr(models[i].model,"EOS") || strstr(models[i].model,"Rebel"))
)
a.operations |= GP_OPERATION_TRIGGER_CAPTURE;
+
+ /* Enable for Panasonic */
+ if (models[i].usb_vendor == 0x04da)
+ a.operations |= GP_OPERATION_TRIGGER_CAPTURE;
+
/* Sony Alpha are also trigger capture capable */
if ( models[i].usb_vendor == 0x54c)
a.operations |= GP_OPERATION_TRIGGER_CAPTURE;