From 426bff6aed03bcaedc42468dfb3862ed7f35ac9f Mon Sep 17 00:00:00 2001 From: slowriot Date: Tue, 31 Mar 2026 16:25:57 +0100 Subject: [PATCH] update comments re. gamepads Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- backends/imgui_impl_emscripten.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/imgui_impl_emscripten.h b/backends/imgui_impl_emscripten.h index 0b3e088e9..aa6bee29f 100644 --- a/backends/imgui_impl_emscripten.h +++ b/backends/imgui_impl_emscripten.h @@ -45,6 +45,6 @@ void ImGui_ImplEmscripten_Init(); // Note also there is no obligation to ever call this, as there is not necessarily any such concept as "shutting down" when running in the browser, and we have no resources to release. The user can just close the tab. void ImGui_ImplEmscripten_Shutdown(); -// Call every frame to update polled input events, i.e. gamepads, and update imgui's cursors. -// If you aren't using gamepad input to control imgui, and you're not using browser native cursor rendering (i.e. if imgui is rendering cursors internally), you don't need to call this. +// Call every frame to synchronize Dear ImGui's cursor state with the browser's native cursors. +// If you are not using browser native cursor rendering (i.e. if Dear ImGui is rendering cursors internally), you don't need to call this. void ImGui_ImplEmscripten_NewFrame();