Skip to content

Conversation

@Teselka
Copy link
Contributor

@Teselka Teselka commented Dec 15, 2025

This is an implementation of the emscripten backend with opengl3 renderer as an example.

Features:

  • Clipboard (without IME).
  • Mouse (including mouse/touch/pen with IMGUI_IMPL_EMSCRIPTEN_POINTER_EVENTS, otherwise supports mouse only, touch input api worked bad for me).
  • Keyboard (including edge case with tab/backspace interaction, see here).
  • Mouse cursor and shape (implemented with document.querySelector(target_id).style.cursor = shape;)
  • Dynamic canvas resizing (with user ImGui_ImplEmscripten_UpdateCanvasSize api).
  • Gamepad (i currently don't have any gamepad so i can't test this).
  • Numpad (i don't have keyboard with a numpad also).

#8178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants