Skip to content

[WIP] Adjust protocol for multiple actions per button#15

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/adjust-button-action-protocol
Closed

[WIP] Adjust protocol for multiple actions per button#15
Copilot wants to merge 1 commit intomainfrom
copilot/adjust-button-action-protocol

Conversation

Copy link
Contributor

Copilot AI commented Dec 13, 2025

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Adjust the protocol to mention this:

Allow the hardware (or software, such as BikeControl) to send multiple actions per button. E.g. the plus button sends three different actions simultaneously:

  • 0x01 for shift up
  • 0x30 for increasing resistance
  • 0x14 for selecting in menus

This would also make it easy and very flexible to optionally remap the hardware buttons or your OpenBikeControl-compatible controller or gamepads, as we know which actions are supported by the trainer app (App Information Characteristic).

Also adjust:

  • change the enum values (Social/Emotes, and Camera 1-X) to use a single action but with analog value.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

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.

2 participants

Comments