![]() |
Forum Index : Microcontroller and PC projects : USB Keyboard - slow response/dropped keypresses
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10209 |
Please try the attached and report PicoMite.zip Correct. The new firmware allows for more than one new key-press in each USB report. This should mean that a key-press can't be missed. |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
Peter! Please see the attached video! I think we have a success. There are still problems but FOR ME they are not relevant in real life (at least for now, maybe I discover situation where it still might be problematic but see the video & definitely the new attached keyboard text file) ![]() ![]() ![]() I think this gives you a good overview. Good work! If you want to try to fix the problems further I will test more. But this is a HUGE improvement. Video keyboardNew.zip Greetings Daniel |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10209 |
Just to be clear, the double key only occurs in the editor? |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
No, as you can see in the video (timestamp: 00:00:26), the double key are also in the console. So for now you've definitly fixed the missig keys. Only on some "lines" (the 4 row test) I see some double keys. Here: or and so on... And I think this information may help to: It is impossible for me in some "4 key rows" (no matter how fast I type) to produce double keys. some key-arrangements seem to be "rock solid" no matter how fast I type. This is also in the console. And it is on all tested keyboards the same. But as I said, this new fix is a HUGE improvement. No missing keys anymore. Edited 2025-07-05 22:26 by Amnesie |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10209 |
Please try this one PicoMite.zip |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 480 |
Pretty sure you are aware but: I setup a HDMI USB system on a RP2350B and exactly the reported behavior @Amnesie also applies to this for me. I tried different keyboards. > option list PicoMiteHDMI MMBasic USB RP2350B Edition V6.00.02 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION KEYBOARD GR, 0, 0, 180, 80 OPTION PICO OFF OPTION RESOLUTION 1024x768 @ 375000KHz OPTION DISPLAY 96, 170 OPTION KEYBOARD REPEAT 180,80 OPTION DEFAULT FONT 7, 1 |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10209 |
dddns Try this PicoMite.zip |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
Peter, I just came home - I will try it in an hour and will report! Greetings Daniel |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 480 |
Cleared the flash and let everything be default. Of cause subjective impressions: Much better. Seems that "qwer" is more easy to replicate over and over than "wert" |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
No missing keys, but still dublicate keys on the same spots. |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
Exactly, same here! There are certain groups which are rock solid, no matter how fast you type. This is one of them. @ dddns could you please mention what keyboard you used? Model? @ Peter Even if you can't improve things much more, now it is at least usable! :) Seems that this problem is really hard to deal with because there are so many variables involved. Edited 2025-07-06 03:11 by Amnesie |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10209 |
Have the duplicates gone? |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
|
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 480 |
Used a very old Dell SK-8135 with integrated hub and a noname US layout keyboard. Dell works better(subjective) |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10209 |
I don't understand how you have still got duplicates unless I posted the wrong binary as I've put a hard block into the code that stops the same character being registered with 50mSec. Please try again with the attached. The version number will be V6.00.02p1 (patch 1) If this doesn't work I think I'll shoot myself as it makes no sense. PicoMite.zip |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
Thank you, this is good to know. Because I didn't found a single keyboard (tried today another one from a good friend) that works. But with this fix, there is no dropped key anymore, which is a good sign - even if the dublicate problem can't be fixed. Greetings Daniel |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
If this doesn't work I think I'll shoot myself as it makes no sense. PicoMite.zip ![]() |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
Aaaaaaand the answer is: Video ![]() ![]() ![]() |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 602 |
Uhm.. I was too euphoric / optimistic and didn't noticed until I saw the video I just recorded and tried it again..... you can see it in the video, too. ZUIO "zuuio" SDFG "sdffg" < still dublicates I am so sorry :( hmpf.... But the WERT "werrt" problem is gone! ![]() Edited 2025-07-06 04:53 by Amnesie |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2529 |
I not got problems with usb key board, I tried this dell with usb ports and plugged usb mouse in and it showed mouse and kb is fine. using usb a to mini from kb the keyboard got 2 usb sockets, usb mouse plugged into one Edited 2025-07-06 06:11 by stanleyella |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |