Open jacereda opened 3 years ago
Sorry for not replying sooner; I don't regularly monitor the Chrysalis repo. The behaviour you're seeing is a result of the Qukeys plugin's default configuration. Qukeys (the plugin that handles the ctrl
/space
key in question) has a number of mechanisms to protect against getting unintended output, most of them geared toward reducing incidence of accidental modifiers. The particular setting in question is the "minimum prior interval", which prevents modifier output unless at least a certain period of time elapses between the previous key toggling on and the qukey toggling on. The default is 75 milliseconds.
This can be adjusted, if you compile your own firmware sketch, by calling Qukeys.setMinimumPriorInterval(0)
, for instance. At some point in the future, this will hopefully be adjustable in Chrysalis, but there is currently no mechanism for it.
I have a key that acts as
CTRL
when held andSpace
when tapped.On Chrysalis 0.7.9 with its firmware:
Let's say I make a mistake when trying to type a carriage return (which I do as
CTRL+m
instead of using a dedicated key), and I type them
beforeCTRL
. I can notice and just keepCTRL
pressed and typeh
to delete them
, followed bym
to type the real carriage return.Using latest Chrysalis+firmware, it won't recognise the
CTRL/Space
key as a modifier ifm
is pressed first. If I type the above sequence, theh
will just type the character instead of deleting the previous character. Since theCTRL/Space
key is being held, it should behave the same way as 0.7.9.