|
|
@@ -13,6 +13,8 @@
|
|
|
#include "imgui.h"
|
|
|
#include "../bgfx_utils.h"
|
|
|
|
|
|
+//#define USE_ENTRY 1
|
|
|
+
|
|
|
#ifndef USE_ENTRY
|
|
|
# if defined(SCI_NAMESPACE)
|
|
|
# define USE_ENTRY 1
|
|
|
@@ -241,6 +243,7 @@ struct OcornutImguiContext
|
|
|
io.KeyMap[ImGuiKey_Y] = (int)entry::Key::KeyY;
|
|
|
io.KeyMap[ImGuiKey_Z] = (int)entry::Key::KeyZ;
|
|
|
|
|
|
+ io.NavFlags |= ImGuiNavFlags_EnableKeyboard;
|
|
|
io.NavInputs[ImGuiNavInput_Activate] = (int)entry::Key::GamepadA;
|
|
|
io.NavInputs[ImGuiNavInput_Cancel] = (int)entry::Key::GamepadB;
|
|
|
// io.NavInputs[ImGuiNavInput_Input] = (int)entry::Key::;
|