Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
b774e1158584
Commit
7c4d0b4b
authored
Aug 20, 2016
by
alex@thinkpad
Browse files
api_test.lua: relax half-shutter check a bit (the event is not sent right away)
--HG-- branch : lua_fix
parent
b627ebfb7478
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/api_test.lua
View file @
b774e115
...
...
@@ -192,6 +192,7 @@ function test_keys()
-- fixme: expose things like QR_MODE, PLAY_MODE, enter_play_mode...
assert
(
camera
.
state
==
1
)
key
.
press
(
KEY
.
HALFSHUTTER
)
msleep
(
100
)
assert
(
key
.
last
==
KEY
.
HALFSHUTTER
)
msleep
(
1000
)
-- half-shutter should close Canon menu
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment