Skip to content

Commit

Permalink
Add PowerShot A810
Browse files Browse the repository at this point in the history
  • Loading branch information
datazuul committed Jun 22, 2022
1 parent 5c130b5 commit ae8ee17
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>2.6.7</version>
</parent>

<name>Eazy BookScanner (Swing)</name>
<name>datazuul applications: Eazy BookScanner</name>
<groupId>com.datazuul.eazy.bookscanner</groupId>
<artifactId>eazy-bookscanner-swing</artifactId>
<version>1.0.0-SNAPSHOT</version>
Expand Down
20 changes: 20 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,23 @@ cameras:
execute: [LEFT, sleep1000, LEFT, sleep500, SET, sleep1000]
zoom:
pre-execute: [SET_AUTOFOCUS]
- id: 0x323f
name: 'PowerShot A810'
# TODO: Draft (copied from A2200) for testing
# The A2200 only has three focus modes (in this order on display):
# currentFocusMode in: "Macro" = 4 - "Normal" = 0 - "Infinity" = 3
# FocusMode.MACRO (4), "Normal" = FocusMode.AUTO (0), "Infinity" = FocusMode.INF (3)
autofocus:
# set to "Normal" (there is no AUTO mode) and handle auto focus later during shoot
# see https://chdk.fandom.com/wiki/Script_commands#set_aflock
# macro
- current-mode: 4
execute: [LEFT, sleep1000, RIGHT, sleep500, SET, sleep1000]
# normal
- current-mode: 0
execute: []
# infinity
- current-mode: 3
execute: [LEFT, sleep1000, LEFT, sleep500, SET, sleep1000]
zoom:
pre-execute: [SET_AUTOFOCUS]

0 comments on commit ae8ee17

Please sign in to comment.