Repository navigation
feat(ui-egui): Alt+1..9 pick up a pen, Alt+0 goes back to typing (#44) - #235
Merged
Merged
Conversation
…enTechSoftware#44) Tablet express keys and keyboards can now change pens without reaching for the ribbon. Alt+1 to Alt+9 pick up the pen in that place on the Draw tab's rack, from anywhere in the window; Alt+0 puts the pen down and goes back to typing. A number past the end of the rack does nothing. On a Mac, the character Option+digit types is dropped so it does not land in the note. The rack's tooltips name each pen's key. Part of AlienTechSoftware#44 (the shortcut request; the stroke smoothing in the same issue is not touched here). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y4im4nvZvQHZdShop1ff8w
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #44: the request for "a simple shortcut that can be bound with kb or xp-pen tablets".
What changes
¡) is dropped, so it does not land in the note.docs/gaps.mdlists the keys under Pen and drawing.Ctrl+Alt+digit is left alone. Only Alt alone matches.
The other half of #44 (smoother pen strokes and highlighter ends) is not touched here, so this PR does not close the issue.
Tests
alt_and_a_number_pick_up_a_pen_and_alt_zero_goes_back_to_typing. It covers Alt+2 and Alt+5 picking up those pens, Alt+0 going back to typing, Alt+9 past the end of the rack doing nothing, a plain digit staying text, and an Option character not reaching the note.cargo xtask cipasses locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01Y4im4nvZvQHZdShop1ff8w