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