Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Sony A7R3/4/5 #1067

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixes for Sony A7R3/4/5 #1067

wants to merge 2 commits into from

Conversation

watsonmw
Copy link
Contributor

  • Fixes for Sony mode 3 (for A7R4/A7R5):
    • capturemode
    • flashmode
    • iso
    • shutterspeed
    • f-number
    • focusmagnify
    • capture-image-and-download
  • Allow the following settings to be settable in mode 2 (for A7R3):
    • focusmode
    • flashmode
    • exposure metering
  • Re-enabled mode 3 for A7R5, so that:
    • iso enum is reported
    • focus magnify can be set
    • manual focus can be adjusted

- Fixes for Sony mode 3 (A7R4/A7R5):
   - capturemode
   - flashmode
   - iso
   - shutterspeed
   - f-number
   - focusmagnify
   - capture-image-and-download
- Allow the following settings to be settable in mode 2 (A7R3):
   - focusmode
   - flashmode
   - exposure metering
- Enabled mode 3 for A7R5, so that:
   - iso enum is reported
   - focus magnify can be set
   - manual focus can be adjusted
if (dpd->GetSet & 0x80) {
/* This is a control value and can be set */
/* 0x81 - button, 0x83 - lock, 0x82 - notch, 0x84 - variable */
dpd->GetSet = PTP_DPGS_GetSet;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is falling through isenabled handling ... should there be an else or goto out or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, maybe... I guess some 'controls' can be (legitimately) disabled, like if the exposure mode precludes that action. For now, I'll add an else - since this needs to be tested per control.

… enabled/disabled based on isenabled needs to be tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants