Skip to content

Shifted sequences#122

Open
borisfaure wants to merge 10 commits into
TeXitoi:masterfrom
borisfaure:shifted_seq
Open

Shifted sequences#122
borisfaure wants to merge 10 commits into
TeXitoi:masterfrom
borisfaure:shifted_seq

Conversation

@borisfaure
Copy link
Copy Markdown
Contributor

This set of commits aims at following up on the work done by @riskable on #30 : some simplifications, a bug is fixed (when using Tap) and some documentation.
This contains work from #117 .
The main addition is to be able to filter (and later restore) some key states: main example is to release Shift for some part of the sequence. I use this a lot to type in french when I use XCompose: RAlt+^+e to type ê. To be able to use the same action when shift is pressed, I added this filter/restore mechanism in the last commit.

Univa added a commit to Univa/rumcake that referenced this pull request Dec 14, 2023
this omits the filter and restore events from the original PR (didn't feel it was necessary): TeXitoi/keyberon#122
This can occur when 2 Press/Release attached to an HoldTap action are
handled between 2 ticks.

```
ERROR panicked at /home/boris/stuff/kb/keyberon/src/layout.rs:319:32:
attempt to subtract with overflow
```
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