I recently revisited my old project of making mini-keyboards and controllers using rp2040 based boards. I specifically use waveshare rp2040 zero. About a year ago I made a game controller using this board and the keyboard library in the arduino ide and it worked great. However, now that I for some reason when I flash the same code on to a new waveshare rp2040 zero the keyboard.press() takes and entire 7ms to complete! This makes the keyboard basically unusable since it sends multiple key inputs and takes up to 120ms each time to just send the entire key commands. This causes the stuttering and missed inputs and basically kills this project. As context I took out my old controller I made with the same code and it does not have this issue and worked flawlessly. As a sanity check I flashed this old controller again and now it has this issue too so it's not a broken board and 100% a software issue. Has anyone experienced this??? My first guess is that maybe the poll rate set by the keyboard lib is not working correctly? PLEASE HELP this is getting super frustrating ![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.