On 05/07/2018 at 21:59, xxxxxxxx wrote:
Cinema 4D Version: R19
Platform: Windows ; Mac OSX ;
Language(s) : C++ ; PYTHON ;
In continuation to the shortcut-key topic and the sticky-key bug, I was looking for a way to detect a key release.
Let's say I have a SceneHook, in its KeyboardInput I can detect a key being pressed.
This method is being called when the user presses a key, or when the key is kept pressed down.
Is there any way to detect the key being released?
Note, we're in a SceneHook, performing a while loop to check for the release of the key is thus not an option. Moving all the logic into a ToolData is not an option either.