You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pressing down two keys in a row only creates one key down sound. That is until the first key is released, at which point another key down sound will be played for the second key that was pressed down. But that sound is played out of sync with when that key was pressed.
I have implemented the code for this and can post it after I sleep. Thinking about it though. Do we want to be able to play two key down sounds in a row? Modern keyboards allow that but I am not sure if typewriters forced you to unpress one key before pressing another. Let me know.
Edit:
Reguardless, the current functionality of pressing down 5 keys and hearing one pressed down sound. And unpressing them all and hearing 5 unpressed sounds, is not ideal.
Describe the bug
Pressing down two keys in a row only creates one key down sound. That is until the first key is released, at which point another key down sound will be played for the second key that was pressed down. But that sound is played out of sync with when that key was pressed.
To reproduce
PressDown KeyA, (hear keypress sound)
PressDown KeyB (Don't hear a keypress sound)
Expected behavior
A Keydown sound should be played each time a key is pressed down. Regardless of whether another key is already pressed down or not.
Software information
Operating system:
Rust version:
cargo 1.75.0 (1d8b05cdd 2023-11-20)
Project version:
daktilo 0.5.0
The text was updated successfully, but these errors were encountered: