mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-29 03:00:05 +00:00
Nav: Examples: Glfw+GL3: Added basic gamepad mapping code when io.NavFlags & ImGuiNavFlags_EnableGamepad is set. (will iterate/tweak before spreading to other examples). (#787)
This commit is contained in:
parent
e9070e768e
commit
827f4b17d3
2 changed files with 28 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ int main(int, char**)
|
|||
ImGuiIO& io = ImGui::GetIO(); (void)io;
|
||||
ImGui_ImplGlfwGL3_Init(window, true);
|
||||
//io.NavFlags |= ImGuiNavFlags_EnableKeyboard;
|
||||
//io.NavFlags |= ImGuiNavFlags_EnableGamepad;
|
||||
|
||||
// Setup style
|
||||
ImGui::StyleColorsClassic();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue