Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

camera_still: take the shutter from boot_button - #16

Merged
bdbarnett merged 1 commit into
mainfrom
boot-button
Oct 9, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
boot-button

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Board configs now expose the BOOT button only as boot_button, a raw input, never as a key in keypad (PyDevices/pydevices#164). So camera_still.py wraps it in GPIOButtons itself and registers it with app.add_keypad. BOOT still arrives as an ordinary KEYDOWN, and the file still doesn't know which GPIO the button is on.

Checked on an ESP32-P4-WIFI6-DEV-KIT with the KeDei 5" panel and the updated board configs: the live view starts, the keypad device is registered from boot_button (reading released), and the shutter path saves a JPEG. A physical press of BOOT wasn't run.

@bdbarnett
bdbarnett merged commit 4230cab into main Oct 9, 2026
1 check passed
@bdbarnett
bdbarnett deleted the boot-button branch October 9, 2026 22:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant