From 219751a05d4af4d715816fe868239b13385b0a0d Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Tue, 22 Sep 2020 13:17:53 -0400 Subject: [PATCH] Remove faulty ctrl detection on macos preventing t from being inputted --- engine/asset/CMakeLists.txt | 1 + engine/core/CMakeLists.txt | 1 - platforms/mac/main.mm.in | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/asset/CMakeLists.txt b/engine/asset/CMakeLists.txt index f026181..4828810 100644 --- a/engine/asset/CMakeLists.txt +++ b/engine/asset/CMakeLists.txt @@ -11,6 +11,7 @@ target_include_directories(Asset PUBLIC include) target_link_libraries(Asset PUBLIC Math + Renderer PRIVATE stb Log diff --git a/engine/core/CMakeLists.txt b/engine/core/CMakeLists.txt index 31c8e36..6f19fa7 100755 --- a/engine/core/CMakeLists.txt +++ b/engine/core/CMakeLists.txt @@ -38,7 +38,6 @@ target_include_directories(Core SYSTEM PUBLIC target_link_libraries(Core PUBLIC Asset Math - Platform Utility nlohmann_json Log diff --git a/platforms/mac/main.mm.in b/platforms/mac/main.mm.in index 67f2887..c1e60ba 100755 --- a/platforms/mac/main.mm.in +++ b/platforms/mac/main.mm.in @@ -24,7 +24,6 @@ static std::map inputToKeyCode = { { {InputButton::Backspace, 51}, {InputButton::Enter, 36}, {InputButton::Space, 49}, - {InputButton::Ctrl, 17}, {InputButton::Shift, 10}, {InputButton::A, 0}, {InputButton::W, 13},