From 55383c3fa47ea56036387cb55fe91f77b4d3af2e Mon Sep 17 00:00:00 2001 From: Zode Date: Sat, 30 Mar 2024 02:35:11 +0200 Subject: [PATCH] Patch numpad enter to normal enter on Linux --- Source/Engine/Platform/Linux/LinuxPlatform.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index 41a2a33f6..380d51d06 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -2253,6 +2253,9 @@ bool LinuxPlatform::Init() } } + //Patch in numpad enter to normal enter, just like on windows. + KeyCodeMap[104] = KeyboardKeys::Return; + Input::Mouse = Impl::Mouse = New(); Input::Keyboard = Impl::Keyboard = New(); LinuxInput::Init();