Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

BootKeyboard: Move the plugging to .begin() #40

Merged
merged 1 commit into from Jun 7, 2018
Merged

BootKeyboard: Move the plugging to .begin() #40

merged 1 commit into from Jun 7, 2018

Conversation

algernon
Copy link

@algernon algernon commented Jun 7, 2018

Instead of plugging the BootKeyboard at constructor-time, do so at begin()-time, so we can control when it happens. We want to control when it happens so that we can set the default protocol based on various boot-time considerations, without having to recompile the firmware.

Instead of plugging the BootKeyboard at constructor-time, do so at begin()-time,
so we can control when it happens. We want to control when it happens so that we
can set the default protocol based on various boot-time considerations, without
having to recompile the firmware.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
@algernon algernon merged commit 3b071f5 into keyboardio:master Jun 7, 2018
@algernon algernon deleted the f/late-plug branch June 7, 2018 19:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant