From 2fa3db43b1bc9174a6824942fefe4e782efa2eb3 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 20 May 2018 14:59:21 -0400 Subject: [PATCH] Add keypad Enter key command for module browser --- dep/nanosvg | 2 +- src/app/RackScene.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dep/nanosvg b/dep/nanosvg index 9a74da4d..06c1f0f3 160000 --- a/dep/nanosvg +++ b/dep/nanosvg @@ -1 +1 @@ -Subproject commit 9a74da4db5ac74083e444010d75114658581b9c7 +Subproject commit 06c1f0f3bb041d69a73bb74067d063a700215b0e diff --git a/src/app/RackScene.cpp b/src/app/RackScene.cpp index 980d214d..6448705f 100644 --- a/src/app/RackScene.cpp +++ b/src/app/RackScene.cpp @@ -79,7 +79,8 @@ void RackScene::onHoverKey(EventHoverKey &e) { e.consumed = true; } } break; - case GLFW_KEY_ENTER: { + case GLFW_KEY_ENTER: + case GLFW_KEY_KP_ENTER: { appModuleBrowserCreate(); e.consumed = true; } break;