Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdba: add keys to press/release the fastboot button #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

calebccff
Copy link
Member

For some testing it's useful to manually press the fastboot button. Add support for doing this with <[C-a] f>

cdba.h Outdated
@@ -23,6 +23,8 @@ enum {
MSG_FASTBOOT_PRESENT,
MSG_FASTBOOT_DOWNLOAD,
MSG_FASTBOOT_BOOT,
MSG_FASTBOOT_BTN_PRESS,
MSG_FASTBOOT_BTN_RELEASE,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protocol abi break

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the idea of having two messages for a single button. Maybe we should follow something like (MSG_BUTTON <button:u8, state:bool>)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 ^

For some testing it's useful to manually press the fastboot button.
Add support for doing this.

Signed-off-by: Caleb Connolly <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants