uspi icon indicating copy to clipboard operation
uspi copied to clipboard

Keyboard issue

Open chregu82 opened this issue 4 years ago • 3 comments

Hello I ran into a problem if I hold down a key for at least 30 seconds. I'm using a RAW handler which gets registered with USPiKeyboardRegisterKeyStatusHandlerRaw(). Usually this works fine and my handler gets called on every key press and key release. However if I hold down a key for a long period of time, at least 30 seconds, the key released event is missing and from that point on, no more key events are reported. I'm using your develop branch.

chregu82 avatar Jan 16 '21 16:01 chregu82

Unfortunately I cannot reproduce this problem. I tested this with two different keyboards. After holding a key for 40 seconds, both keyboards still respond. Maybe your keyboard switches off, after holding a key for that long, which is not usual?

rsta2 avatar Jan 17 '21 10:01 rsta2

Thank you for your help. I just tried different Pi's. It seems to work fine on my Pi Zero V1.2, but stops working on my Pi2 and Pi3. What hardware did you test with?

chregu82 avatar Jan 17 '21 10:01 chregu82

I tested with a RPi 2B.

rsta2 avatar Jan 18 '21 10:01 rsta2