From 196b7ad104f97e0c16f207356ed24f60d2970b56 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 10 Apr 2018 05:19:49 +0200 Subject: [PATCH] F1 key name shows --- dialogs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dialogs.cpp b/dialogs.cpp index 8401d213..f81415f5 100644 --- a/dialogs.cpp +++ b/dialogs.cpp @@ -62,6 +62,7 @@ namespace dialog { if(k == SDLK_ESCAPE) return "Esc"; if(k == SDLK_F5) return "F5"; if(k == SDLK_F10) return "F10"; + if(k == SDLK_F1) return "F1"; if(k == SDLK_HOME) return "Home"; if(k == SDLK_BACKSPACE) return "Backspace"; if(k == SDLK_RETURN) return "Enter";