manuel.gysin Posted March 24, 2014 Posted March 24, 2014 Hello Is there a way to forward any keyboard input to a custom c++ plugin? The external plugins renders a webpage with the possibility to insert data (text). We need now a way to pass each key-event by itself to the plugin. These two condition we have: - Event is send when a key is pressed - Event is send when a key is released I found UnigineApp::getKeyState but this not event based and seems the wrong direction. Thanks Manuel
frustum Posted March 24, 2014 Posted March 24, 2014 Set a script based handler to the engine.gui.setKeyPressCallback() function and pass a key into the external function. It the handler function returns 1 the engine key processing will be terminated.
Recommended Posts