From 381517ffa0cf1a7bddfd97e30654245dce857096 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 11 Mar 2019 06:06:43 +0000 Subject: [PATCH] Add CLEAR and KP_CLEAR to the SDL key translation table as synonyms for KP_5 git-svn-id: https://svn.eduke32.com/eduke32@7393 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/sdlkeytrans.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/build/src/sdlkeytrans.cpp b/source/build/src/sdlkeytrans.cpp index 907e2b4a9..6e736b53c 100644 --- a/source/build/src/sdlkeytrans.cpp +++ b/source/build/src/sdlkeytrans.cpp @@ -206,6 +206,8 @@ static int32_t buildkeytranslationtable(void) MAP(SDL_SCANCODE_KP_3, 0x51); MAP(SDL_SCANCODE_KP_4, 0x4b); MAP(SDL_SCANCODE_KP_5, 0x4c); + MAP(SDL_SCANCODE_KP_CLEAR, 0x4c); + MAP(SDL_SCANCODE_CLEAR, 0x4c); MAP(SDL_SCANCODE_KP_6, 0x4d); MAP(SDL_SCANCODE_KP_7, 0x47); MAP(SDL_SCANCODE_KP_8, 0x48);