Updated to work without keyboard event refactor.

This commit is contained in:
OTHGMars 2019-01-10 17:44:30 -05:00
parent b0455c7524
commit 2add57079d

View file

@ -166,8 +166,11 @@ bool GuiInputCtrl::onInputEvent( const InputEventInfo &event )
if (!mSendModifierEvents) if (!mSendModifierEvents)
return false; return false;
const char* actionString = INPUTMGR->findKeyboardMapDescFromCode(event.objInst); char keyString[32];
onInputEvent_callback(deviceString, actionString, 1); if (!ActionMap::getKeyString(event.objInst, keyString))
return false;
onInputEvent_callback(deviceString, keyString, 1);
} }
else else
{ {