Add a prefix to irrlicht key codes

This commit is contained in:
Deve
2017-07-20 21:53:37 +02:00
parent 10909b9556
commit 0dba3c8f67
29 changed files with 1329 additions and 1314 deletions

View File

@@ -561,7 +561,7 @@ bool CGUIEnvironment::postEventFromUser(const SEvent& event)
// Send focus changing event
if (event.EventType == EET_KEY_INPUT_EVENT &&
event.KeyInput.PressedDown &&
event.KeyInput.Key == KEY_TAB)
event.KeyInput.Key == IRR_KEY_TAB)
{
IGUIElement *next = getNextElement(event.KeyInput.Shift, event.KeyInput.Control);
if (next && next != Focus)