Skip to content

Commit ae8ee17

Browse files
committed
Add PowerShot A810
1 parent 5c130b5 commit ae8ee17

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<version>2.6.7</version>
99
</parent>
1010

11-
<name>Eazy BookScanner (Swing)</name>
11+
<name>datazuul applications: Eazy BookScanner</name>
1212
<groupId>com.datazuul.eazy.bookscanner</groupId>
1313
<artifactId>eazy-bookscanner-swing</artifactId>
1414
<version>1.0.0-SNAPSHOT</version>

src/main/resources/application.yml

+20
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,23 @@ cameras:
2222
execute: [LEFT, sleep1000, LEFT, sleep500, SET, sleep1000]
2323
zoom:
2424
pre-execute: [SET_AUTOFOCUS]
25+
- id: 0x323f
26+
name: 'PowerShot A810'
27+
# TODO: Draft (copied from A2200) for testing
28+
# The A2200 only has three focus modes (in this order on display):
29+
# currentFocusMode in: "Macro" = 4 - "Normal" = 0 - "Infinity" = 3
30+
# FocusMode.MACRO (4), "Normal" = FocusMode.AUTO (0), "Infinity" = FocusMode.INF (3)
31+
autofocus:
32+
# set to "Normal" (there is no AUTO mode) and handle auto focus later during shoot
33+
# see https://chdk.fandom.com/wiki/Script_commands#set_aflock
34+
# macro
35+
- current-mode: 4
36+
execute: [LEFT, sleep1000, RIGHT, sleep500, SET, sleep1000]
37+
# normal
38+
- current-mode: 0
39+
execute: []
40+
# infinity
41+
- current-mode: 3
42+
execute: [LEFT, sleep1000, LEFT, sleep500, SET, sleep1000]
43+
zoom:
44+
pre-execute: [SET_AUTOFOCUS]

0 commit comments

Comments
 (0)