Modality-toolkit icon indicating copy to clipboard operation
Modality-toolkit copied to clipboard

Feature request: Keyboard shortcuts in gui versions of controllers

Open madskjeldgaard opened this issue 2 years ago • 4 comments

Hi!

I find the virtual / gui versions of controllers immensely helpful. One thing I thought would make them even more cool would be to add the possibility of adding keyboard shortcuts to the elements, at first only for buttons. I imagine adding an extra key to the element-description containing a keyboardshortcut keycode, eg. to add the keyboard short cut a to an element:

( key: 'bt1', 'midiNum':  60, 'keyboardShortcut': 'a', 'midiChan': 0, 'groupType': 'noteOnOff', 'elementType': 'pad', 'spec': 'midiVel'),

This would make all buttons on a gui playable on the computer keyboard in a way that would make it closer to the hardware version, I would imagine.

madskjeldgaard avatar Jul 03 '23 09:07 madskjeldgaard

This would also make it possible to easily expand the Piano interface to have a keyboard shortcut layout like the "virtual piano" in software like Ableton Live

madskjeldgaard avatar Jul 03 '23 09:07 madskjeldgaard

Sounds like a nice idea! The GUI behaviour is mainly @adcxyz 's field, and I don;t know how involved he is in this atm. Maybe you'd want to start with a code sketch?

LFSaw avatar Sep 17 '23 06:09 LFSaw

Hi Mads, sorry for missing your initial post, Julay was really busy - yes, sounds like a very good idea ! Happy to help adding this, so let us know when you have a code sketch, or also a more detailed concept how it should work. best adc

adcxyz avatar Sep 26 '23 12:09 adcxyz

BTW, the KeyPlayer quark implements a lot of computer-key-based action functionality, and may be a good source for sketches.

adcxyz avatar Sep 30 '23 13:09 adcxyz