From e5d9aed6692b1547b15eec055c54d8218f221cfb Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 15 Feb 2022 17:47:07 -0500 Subject: [PATCH] GUI: also accept number pad for value input --- src/gui/gui.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 30fa5f6ab..a2a28987d 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -8860,6 +8860,16 @@ FurnaceGUI::FurnaceGUI(): valueKeys[SDLK_d]=13; valueKeys[SDLK_e]=14; valueKeys[SDLK_f]=15; + valueKeys[SDLK_KP_0]=0; + valueKeys[SDLK_KP_1]=1; + valueKeys[SDLK_KP_2]=2; + valueKeys[SDLK_KP_3]=3; + valueKeys[SDLK_KP_4]=4; + valueKeys[SDLK_KP_5]=5; + valueKeys[SDLK_KP_6]=6; + valueKeys[SDLK_KP_7]=7; + valueKeys[SDLK_KP_8]=8; + valueKeys[SDLK_KP_9]=9; memset(willExport,1,32*sizeof(bool));