Page 1 of 1

Posted: 08 Dec 2016, 17:34
by sm_jamieson
Can the SDK have a callback for computer keyboard input.
A low level callback should be available - just key press and key release. So these can easily be mapped onto midi notes.

There is the keyboard input module, that I know is to be enhanced with a list of down keys, etc. But from the SDK I am currently using a windows hook, which works (but its hard to know if Usine has the focus or not). But this method would not work on the Mac.

Thanks,
Simon.

Posted: 21 Dec 2016, 15:47
by senso
The main pb is that keyboard infos are global in Usine.
So each time I receive a key, I have to send it to all user modules.
It can take a longtime to do that.
Anyway, I'll see I can find something.