zevv / bucklespring

Nostalgia bucklespring keyboard sound
GNU General Public License v2.0
1.39k stars 82 forks source link

Feature request: key-repeat mode #120

Open Russtopia opened 9 months ago

Russtopia commented 9 months ago

Awesome project, thank you so much!

While I know the project is meant to give the sound of original buckling-spring keyboards, I also miss the sound of my old Atari ST's keyboard clicks which are a combination of both the physical keyboard and the operating system's key-down and key-repeat sounds. To reproduce this, I suppose one would need .wav samples of not only the physical Atari keyboard, but also the OS-generated ym2149 'click' sound.

Just an idea... if I have the spare time in the near future, maybe I'll try to write up a patch to enable a key-repeat sound option.

zevv commented 9 months ago

You'd have to make some changes to the code for this as well, at as this time the input scanning ignores key repeats; for example, the X11 input code scan-x11.c explicitly ignores repeated key events (line 66 and 70). For the other OS input scanners something similar needs to be done.