Fixed < key in keyboard not working

This commit is contained in:
Janne Hakonen 2018-09-08 14:16:27 +03:00
parent 4381f7a973
commit 3dabb1c891

View file

@ -325,6 +325,9 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event)
case SDL_SCANCODE_APOSTROPHE: case SDL_SCANCODE_APOSTROPHE:
keyCode = 0xDE; keyCode = 0xDE;
break; break;
case SDL_SCANCODE_NONUSBACKSLASH:
keyCode = 0xE2;
break;
default: default:
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Unhandled button event: %d", "Unhandled button event: %d",