This commit is contained in:
Branimir Karadžić
2018-04-08 20:12:49 -07:00
parent b4efb02f1b
commit 93a1c8171a

View File

@@ -240,10 +240,11 @@ struct OcornutImguiContext
io.KeyMap[ImGuiKey_Y] = (int)entry::Key::KeyY;
io.KeyMap[ImGuiKey_Z] = (int)entry::Key::KeyZ;
io.NavFlags |= 0
| ImGuiNavFlags_EnableGamepad
| ImGuiNavFlags_EnableKeyboard
io.ConfigFlags |= 0
| ImGuiConfigFlags_NavEnableGamepad
| ImGuiConfigFlags_NavEnableKeyboard
;
io.NavInputs[ImGuiNavInput_Activate] = (int)entry::Key::GamepadA;
io.NavInputs[ImGuiNavInput_Cancel] = (int)entry::Key::GamepadB;
// io.NavInputs[ImGuiNavInput_Input] = (int)entry::Key::;