Please can we have keyboard event (keyup / keydown) callback in the SDK.
At the moment you can only get modifier states with the mouse callbacks, or for Windows, use GetAsyncKeyState or Global keyboard hooks, but none of these methods are ideal.
This thead is relevant:
http://www.sensomusic.org/forums/viewtopic.php?id=5301
KeyUp / KeyDown callback in SDK
good suggestion.
not so easy to implement without slowing down all keyboard management but I'll try to find a solution.
senso++++
not so easy to implement without slowing down all keyboard management but I'll try to find a solution.
senso++++
Olivier Sens
www.brainmodular.com
www.brainmodular.com
-
sm_jamieson
- Member
- Posts: 559
- Contact:
It could be a global setting that the user can choose (there are a few others simlar - can't think now).senso wrote:good suggestion.
not so easy to implement without slowing down all keyboard management but I'll try to find a solution.
senso++++
Then the user could choose whether to accept to keyboard management slowdown. Downside is that
modules using the new interface would not work properly unless the global setting was on.
The way I do it now is with a Windows global keyboard hook which is not cool !
Thanks,
Simon.
Windows hook is not cool, especially if you plan to compile your modules on MAC...
Olivier Sens
www.brainmodular.com
www.brainmodular.com
Who is online
Users browsing this forum: No registered users and 29 guests
