Merge pull request #66 from jhakonen/fix-key-not-working

Fixed < key in keyboard not working
This commit is contained in:
Cameron Gutman 2018-09-08 11:05:34 -07:00 committed by GitHub
commit dbcc6feb3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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