mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-07 21:39:54 +02: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:
@ -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();
|
||||
|
Reference in New Issue
Block a user