Fixes #96 Backspace should act as left-arrow key

This commit is contained in:
Stefan Arentz 2016-12-26 00:36:39 -05:00
parent 0f38a92a4e
commit c9c7dbe7fd

View File

@ -416,6 +416,7 @@ static bool ewm_two_poll_event(struct ewm_two_t *two, SDL_Window *window) { // T
case SDLK_DELETE:
two->key = 0x7f | 0x80; // DEL
break;
case SDLK_BACKSPACE:
case SDLK_LEFT:
two->key = 0x08 | 0x80; // BS
break;