summaryrefslogtreecommitdiffhomepage
path: root/src/platforms/rcore_web.c
AgeCommit message (Collapse)Author
2024-07-16Adding GetKeyName(int key) (WIP) (#4161)MrScautHD
2024-06-30REVIEWED: Formatting, follow raylib coding conventionsRay
2024-05-16[rcore_web] Relative mouse mode issues. (#3940)Cemal Gönültaş
* [rcore_web] Relative mouse mode issues. * Review formatting.
2024-02-24Gamepad rumble support with SDL2 (#3819)GideonSerf
* Added gamepad rumble to rcore_desktop.c and rcore_desktop_sdl.c Still need to add to the rest of the platforms. * Add SetGamepadVibration warnings to unimplemented platforms. * Added MAX_GAMEPAD_VIBRATION_TIME The rumble in SDL2 will continue for MAX_GAMEPAD_VIBRATION_TIME unless the user cancels it with a call to SetGamepadVibration(0.0f,0.0f,0.0f) * Cast float duration value to Uint 32 * Changed defines from int to float and fixed typo --------- Co-authored-by: Gideon Serfontein <[email protected]>
2024-01-20Make raylib/raygui work better on touchscreen (#3728)Hongyu Ouyang
* Fix that touch doesn't work for click/drag/raygui * Add comments * comments update
2024-01-13Simplified GetWindowScaleDPI() so it does not fetch the wrong DPI scale some ↵Karl Zylinski
times (Windows looks at center of window while the old raylib code looked on upper left corner of window, now it just uses the glfw function to fetch the window's current scaling). Also introduced a callback to update the CORE.Window.screenScaling when the content scaling updates, previously scaling did not work correctly on systems with multiple monitors that have different DPI scaling. (#3701)
2024-01-02Update copyright to 2024Ray
2023-12-17[rcore] Fix `ShowCursor()`, `HideCursor()` and review `SetMouseCursor()` for ↵ubkp
`PLATFORM_WEB` (#3647) * Fix ShowCursor(), HideCursor() and review SetMouseCursor() for PLATFORM_WEB * Add static to cursorLUT[] * Re-review SetMouseCursor()
2023-12-16Fix CORE.Input.Mouse.cursorHidden with callbacks for PLATFORM_WEB (#3644)ubkp
2023-12-16Fix fullscreen known issue 1 for PLATFORM_WEB (#3642)ubkp
2023-12-15Add ToggleFullscreen() and required changes for PLATFORM_WEB (#3634)ubkp
2023-12-15[rcore] Add `GetWindowPosition()` implementation for `PLATFORM_WEB` and ↵ubkp
fixes #3636 style/format (#3637) * Add GetWindowPosition() implementation for PLATFORM_WEB and fixes #3636 style/format * Remove double space
2023-12-14Add GetMonitorWidth() and GetMonitorHeight() implementations for ↵ubkp
PLATFORM_WEB (#3636)
2023-12-14REVIEWED: HighDPI support on Web platform #3372 -WIP-Ray
NOTE: The code is commented until the build system gets updated to latest emscripten.
2023-12-11[rcore] Complement `SetWindowState()` and `ClearWindowState()` for ↵ubkp
`PLATFORM_WEB` (#3625) * Complement SetWindowState() and ClearWindowState() for PLATFORM_WEB * Add FLAG_WINDOW_RESIZABLE to SetWindowState() and ClearWindowState() for PLATFORM_WEB
2023-12-11[rcore] Add `ToggleBorderlessWindowed()` implementation for `PLATFORM_WEB` ↵ubkp
(#3622) * Add ToggleBorderlessWindowed() for PLATFORM_WEB * Fix coding convention
2023-12-07[rcore] Fix `IsMouseButtonUp()` for `PLATFORM_WEB` and `PLATFORM_DRM` (#3611)ubkp
* Fix IsMouseButtonUp() for PLATFORM_WEB * Fix IsMouseButtonUp() for PLATFORM_DRM
2023-11-28Fix typos in src/platforms/rcore_*.c (#3581)RadsammyT
2023-11-11Review #3526Ray
2023-11-10Reviewed duplicate linesRay
2023-11-10Reviewing automation events on web...Ray
2023-11-02Remove unneeded line on web platformRay
2023-11-02Support OpenGL ES 3.0 building on WebRay
For some reason, the equivalent requested context (WebGL 2.0) is not provided, despite being properly requested.
2023-11-01Update rcore_web.cRay
2023-11-01Update rcore_web.cRay
2023-10-31Comments tweaksRay
2023-10-26Remove trail spacesRay
2023-10-26REVIEWED: `glfwGetError()` not availbale on `PLATFORM_WEB` fix #3470Ray
2023-10-23REVIEWED: `InitPlatform()` organization and code-gardeningRay
2023-10-23REVIEWED: Move screen capture logic to `rcore.c`, available for all platformsRay
2023-10-19REVIEWED: Issue with functions definitionsRay
2023-10-19REVIEWED: Issue with symbols exposureRay
2023-10-19REDESIGNED: Move platforms to separate directory #3313Ray