feat: template now enables nav keyboard and gamepad by default, as well as docking
This commit is contained in:
parent
20c0973f50
commit
1e0a61eb59
|
|
@ -12,6 +12,11 @@ void configure(AppConfig &config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
ImGui::GetIO().ConfigFlags |= (
|
||||||
|
ImGuiConfigFlags_NavEnableKeyboard
|
||||||
|
| ImGuiConfigFlags_NavEnableGamepad
|
||||||
|
| ImGuiConfigFlags_DockingEnable
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue