Skip to content

Implement additional keyboard controls for sim sliders#6794

Open
microbit-robert wants to merge 1 commit intomicrosoft:masterfrom
microbit-robert:sim-sliders
Open

Implement additional keyboard controls for sim sliders#6794
microbit-robert wants to merge 1 commit intomicrosoft:masterfrom
microbit-robert:sim-sliders

Conversation

@microbit-robert
Copy link
Copy Markdown
Contributor

This PR prevents slider values from looping and implements controls for the Page Up and Page Down keys (increment value in steps of range / 10) and the Home and End keys (set slider to min and max values).

Duplicated code has been pulled out into a common key handler function.

The pins will addressed in a follow up PR due to additional complexity in the pin values (digital vs analog) and their dual roles as both sliders and buttons.

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.

1 participant