mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-07 23:15:52 +01:00
comment adjustment re. gamepads & touch
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
416d85c9e7
commit
72fae61cba
@ -3,7 +3,7 @@
|
||||
// This is a platform back-end, similar to and offering an alternative to imgui_impl_glfw.
|
||||
// The intended use-case is for applications built with Emscripten, running in the browser, but *not* using GLFW.
|
||||
// It uses Emscripten's HTML5 interface to tie callbacks to imgui input, handling window resizing,
|
||||
// focus, cursor, keyboard input, touch, gamepad devices etc. It does not attempt to handle rendering.
|
||||
// focus, cursor, keyboard input, etc. It does not attempt to handle rendering.
|
||||
//
|
||||
// A note about GLFW on Emscripten: Emscripten includes its own GLFW implementation, which wraps browser HTML5 callbacks to provide the standard GLFW input interface. So there are two levels of indirection.
|
||||
// This backend removes the middleman for input, providing a more efficient direct interface between Emscripten's functionality and imgui input.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user