~martijnbraam/pyatem

8721b673d900813b33867939ba4e1220d08f3b5d — Martijn Braam 2 months ago d840a4a
pyatem: add the void commands for camera control
1 files changed, 35 insertions(+), 0 deletions(-)

M pyatem/cameracontrol.py
M pyatem/cameracontrol.py => pyatem/cameracontrol.py +35 -0
@@ 75,6 75,13 @@ class Focus(CameraControlData):
    KEYS = ["distance"]


class TriggerAutofocus(CameraControlData):
    CATEGORY = 0
    PARAMETER = 1
    DATATYPE = VOID
    DESCRIPTIONS = []


class ApertureFStop(CameraControlData):
    CATEGORY = 0
    PARAMETER = 2


@@ 99,6 106,13 @@ class ApertureOrdinal(CameraControlData):
    KEYS = ["aperture"]


class TriggerAutoaperture(CameraControlData):
    CATEGORY = 0
    PARAMETER = 5
    DATATYPE = VOID
    DESCRIPTIONS = []


class OIS(CameraControlData):
    CATEGORY = 0
    PARAMETER = 6


@@ 154,6 168,20 @@ class WhiteBalance(CameraControlData):
    DESCRIPTIONS = ["k", ""]


class TriggerAutowhitebalance(CameraControlData):
    CATEGORY = 1
    PARAMETER = 3
    DATATYPE = VOID
    DESCRIPTIONS = []


class TriggerRestorewhitebalance(CameraControlData):
    CATEGORY = 1
    PARAMETER = 4
    DATATYPE = VOID
    DESCRIPTIONS = []


class Exposure(CameraControlData):
    CATEGORY = 1
    PARAMETER = 5


@@ 468,6 496,13 @@ class ColorAdjust(CameraControlData):
    DESCRIPTIONS = ["", ""]


class TriggerColorReset(CameraControlData):
    CATEGORY = 8
    PARAMETER = 7
    DATATYPE = VOID
    DESCRIPTIONS = []


class Codec(CameraControlData):
    CATEGORY = 10
    PARAMETER = 0