tomara-x / quartz

visual programming and dsp playground
https://codeberg.org/tomara-x/quartz
Apache License 2.0
77 stars 3 forks source link

key array cleanup #151

Closed tomara-x closed 5 months ago

tomara-x commented 5 months ago

a circle with the key op will store the pressed keys in the array. when saving a scene the array will contain any (at the moment of saving) pressed keys (or something) that means when loading the scene, a patch that's checking for keys pressed will think that those keys are pressed (and held)

tomara-x commented 5 months ago

why : gets stuck?

tomara-x commented 5 months ago

oh lol! when you release shift before releasing the key that's modified, the key is technically never released so hold shift, then press x, that's a shift-down, and a X-down, (cause we get the character, not the key) then release shift, then release x, that's shift-up, then x-up (but X is never released)

that's exactly why practicing multiple forms of magic together was forbidden

tomara-x commented 5 months ago

pressed 40323b7bce3f1486