From c9c7dbe7fd63eb3e4dc0913e71155095b0e14c17 Mon Sep 17 00:00:00 2001 From: Stefan Arentz Date: Mon, 26 Dec 2016 00:36:39 -0500 Subject: [PATCH] Fixes #96 Backspace should act as left-arrow key --- src/two.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/two.c b/src/two.c index 61f575c..eb7f523 100644 --- a/src/two.c +++ b/src/two.c @@ -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;