Making keyswitch keys stick down?
-
Old habits die hard, and just like in Kontakt, I'd like my keyswitch keys to stick down to show which is activated.
I thought ignoring the Message in onNoteOff might do it, but it doesn't seem to have an effect. Any tips?
-
@Simon There is a ToggleMode setting but it doesn't appear to do anything, also I imagine it would affect all keys, not just key switches.
You can use an array to keep track of which key switches are active and use custom LAF to draw your keyboard, checking the array to see if those keys should be up or down.
-
@d-healey said in Making keyswitch keys stick down?:
@Simon There is a ToggleMode setting but it doesn't appear to do anything, also I imagine it would affect all keys, not just key switches.
You can use an array to keep track of which key switches are active and use custom LAF to draw your keyboard, checking the array to see if those keys should be up or down.
..or just change the colour of your keyswitch depending upon state...
-
@d-healey I've been so traumatized by NKS requiring the key press state be set that I forgot this was even an option.
-
@Simon And I just realised who you are! Hi Simon!
-
@d-healey Hiya David, it's good to be back for good in HISE land!