indigodarkwolf / box16

A fork of the official X16 emulator, converted to C++20 and with a bunch of features tweaked and added.
MIT License
42 stars 19 forks source link

sometimes keyboard-joystick gets stuck on keypress #88

Closed irmen closed 1 year ago

irmen commented 1 year ago

Sometimes when using the keyboard-joystick , the routine keeps reporting a button being pressed when in reality the key has been released already.

It doesn't happen often. Maybe it's related to keyboard-repeat somehow because I seem to be able to reproduce it more often when keeping a cursor key pressed down for a longer time and then releasing it. The program then keeps reporting the pressed-down bits sometimes.

test program:

10 ?JOY(0);:GOTO10

irmen commented 1 year ago

indeed this seems to have solved the issue.