Future Web Platform Enhancments
Author: AristurtleDevCreated Sep 17, 2026Updated Sep 17, 2026
Labelsfeatureenhancement
This issue is to track future implementations for the Web platform that are not going in the first release cycle. These are excluded from the first release cycle either because the change is larger than just the web platform and would affect all platforms and needs design discussion, or it's a limitation due to the current vendor versions we use such as SDL2
- Gamepad Vibration: This is not available in the current SDL2 + Emscripten path for web. Would require updating to SDL3
- Mouse XButtons: In SDL2 + Emscripten, the switch case check for mouse button explicitly only has cases for left, middle, and right mouse buttons, xbuttons are skipped.
- Mouse Lock: There is support for this through SDL2 + Emscripten, however implementing this would need to be something that is designed for and implemented on all platforms, not just web. The reason for this is that web is implemented as part of the new
MonoGame.Framework.Nativeproject, which we do not declare#ifdirectives for platform specific behavior on the native side. Instead platform specific behavior is handled in the native code. This means a new API likeMouse.LockCursorwould need to be implemented for all native platforms, not just web. So a larger design conversation needs to happen for this before implemented.
Source: MonoGame/MonoGame