Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 757
Posted: 12:52pm 02 Oct 2025
Hi Peter,
with this version I can indeed catch the "Umlaute" keys but the command
behaves different compared to "MM.Info(PS2)".
MM.USB always shows the last pressed key, MM.Info(PS2) in contrast "resets" the key value.
The problem now is, when using:
MM.USB (to detect the ÄäÜüÖöß) I also have to use KEYDOWN(7) for detecting the shift modifier.
But if I use both in combination, there is a huge latency and missing keypresses again.
The latency / missing key-problem already occurs when I use something like:
If keydown(7)=8 Then shift_pressed=1 Else shift_pressed=0 EndIf
So the idea would be, to make the behavior of the "MM.USB" like the "MM.Info(PS2)" One wouldn't need the keydown(7), which slows things down, and I also don't have to set a flag (or similar) to reset the raw-keycode from MM.USB, since it always shows the last keypress value. I think all this in combination slows things down?
Greetings Daniel Edited 2025-10-02 22:53 by Amnesie