bongo.cat
bongo.cat copied to clipboard
Bugfix to allow playing 2 different samples which map to the same value in KeyEnum
This bugfix allows playing e.g. the first bongo (A key) and the first piano key (1 key) at the same time. Previously you could only play one or the other at a time because they map to the same value in KeyEnum.
Oh, there is already a PR for this
I closed this because I thought it duplicated another open PR, but later looking at the diffs I saw I took a different approach (changing the pressed array to store a tag while the other PR removes the pressed array). So I'm re-opening it.
Link to the other PR https://github.com/Externalizable/bongo.cat/pull/286/files