Welcome to %s forums

BrainModular Users Forum

Login Register

sdk keyboard input callback

Tell us what you'd like Usine to do
Post Reply
sm_jamieson
Member
Posts: 559
Contact:

Unread post by sm_jamieson » 08 Dec 2016, 17:34

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.

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 21 Dec 2016, 15:47

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 120 guests