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
- senso
- Site Admin
- Posts: 4427
- Location: France
- Contact:
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
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.
- senso
- Site Admin
- Posts: 4427
- Location: France
- Contact:
Windows hook is not cool, especially if you plan to compile your modules on MAC...
Olivier Sens
www.brainmodular.com
www.brainmodular.com
