↓ 1 callersFunctionImGui_ImplSDL2_ProcessEventYou can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs. - When io.WantCaptureMouse is true,
src/third-party/imgui/backends/imgui_impl_sdl.cpp:244