Handle input from keyboard without blocking events
Posted: 18 Mar 2021, 19:48
I'm still working on this keyboard project, and I had a question/feature request. Is there a way to handle input from a keyboard without blocking it? This is useful when tracking inputs from individual devices without messing up their use/capabilities.
I tried simulating all the keypresses in the handler as a proxy for not blocking them, but I found that this broke the Ctrl + whatever commands. This is actually surprising to me, because when I did that with the 2nd keyboard it didn't block those commands even when I wanted it too, and they have the same driver, so I dunno what's causing it. I don't really want to switch the keyboards because I use a laptop so it's a bit inconvenient.
I tried simulating all the keypresses in the handler as a proxy for not blocking them, but I found that this broke the Ctrl + whatever commands. This is actually surprising to me, because when I did that with the 2nd keyboard it didn't block those commands even when I wanted it too, and they have the same driver, so I dunno what's causing it. I don't really want to switch the keyboards because I use a laptop so it's a bit inconvenient.