TeXitoi / keyberon

A rust crate to create a pure rust keyboard firmware.
MIT License
1.08k stars 79 forks source link

Shifted sequences #122

Open borisfaure opened 1 year ago

borisfaure commented 1 year ago

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.