A
a96b224b38
Add gamepad support to PLATFORM_DESKTOP_SDL ( #3776 )
Co-authored-by: Arthur <hi@thenightwat.ch>
1 year ago
Ray
d79828076f
REVIEWED: macOS issues #3767
1 year ago
Alexandre Almeida
5c25913e09
Fix Android keycode translation and duplicate key constants ( #3733 )
* Fix Android keycode translation
* Simplify code a bit
* Rename KEYCODE_MAPPED_NUM to KEYCODE_MAP_SIZE
* Fix KEY_R and KEY_MENU duplicate
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
Hongyu Ouyang
0a8165c0ac
Make raylib/raygui work better on touchscreen ( #3728 )
* Fix that touch doesn't work for click/drag/raygui
* Add comments
* comments update
1 year ago
Karl Zylinski
520c8cffb2
Simplified GetWindowScaleDPI() so it does not fetch the wrong DPI scale some 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 )
1 year ago
Ray
3f1e59a7cf
Update copyright to 2024
1 year ago
ubkp
43b4f90eb7
Fix SUPPORT_WINMM_HIGHRES_TIMER for PLATFORM_DESKTOP_SDL ( #3679 )
1 year ago
Ray
efe3510a9a
REVIEWED: SDL text input to Unicode codepoints #3650
REVIEWED: GLFW naming conventions to reflect codepoints reading
2 years ago
Cinghy Creations
57a5ebe6c6
Don't use a separate thread when polling for gamepad events on DRM platforms ( #3641 )
2 years ago
ubkp
9fcfc8d64b
[rcore] Fix `ShowCursor()`, `HideCursor()` and review `SetMouseCursor()` for `PLATFORM_WEB` ( #3647 )
* Fix ShowCursor(), HideCursor() and review SetMouseCursor() for PLATFORM_WEB
* Add static to cursorLUT[]
* Re-review SetMouseCursor()
2 years ago
ubkp
2487174b48
Fix CORE.Input.Mouse.cursorHidden with callbacks for PLATFORM_WEB ( #3644 )
2 years ago
ubkp
0df78d4eeb
Fix fullscreen known issue 1 for PLATFORM_WEB ( #3642 )
2 years ago
ubkp
e001f7e75e
Add ToggleFullscreen() and required changes for PLATFORM_WEB ( #3634 )
2 years ago
ubkp
489f0b93f9
[rcore] Add `GetWindowPosition()` implementation for `PLATFORM_WEB` and fixes #3636 style/format ( #3637 )
* Add GetWindowPosition() implementation for PLATFORM_WEB and fixes #3636 style/format
* Remove double space
2 years ago
ubkp
10c82595b0
Add GetMonitorWidth() and GetMonitorHeight() implementations for PLATFORM_WEB ( #3636 )
2 years ago
Ray
38626dcffd
REVIEWED: HighDPI support on Web platform #3372 -WIP-
NOTE: The code is commented until the build system gets updated to latest emscripten.
2 years ago
ubkp
a2e45239c3
[rcore] Complement `SetWindowState()` and `ClearWindowState()` for `PLATFORM_WEB` ( #3625 )
* Complement SetWindowState() and ClearWindowState() for PLATFORM_WEB
* Add FLAG_WINDOW_RESIZABLE to SetWindowState() and ClearWindowState() for PLATFORM_WEB
2 years ago
ubkp
39457ace2f
[rcore] Add `ToggleBorderlessWindowed()` implementation for `PLATFORM_WEB` ( #3622 )
* Add ToggleBorderlessWindowed() for PLATFORM_WEB
* Fix coding convention
2 years ago
ubkp
44eeda2475
Optimize gesture handling for PLATFORM_DRM ( #3616 )
2 years ago
ubkp
ed8a18ea64
[rcore] Fix real touch gestures for `PLATFORM_DESKTOP_SDL` ( #3614 )
* Fix touch gestures for PLATFORM_DESKTOP_SDL
* Complement note and optimization
* Events optimization
* Optimize gesture handling
* Reverts previous commit and fixes GESTURE_DRAG to not trigger GESTURE_SWIPE* when it ends
* Reapply previous gesture handling optimization also fixing GESTURE_DRAG to not trigger GESTURE_SWIPE* when it ends
2 years ago
ubkp
a9ba51aa72
[rcore] Fix `IsMouseButtonUp()` for `PLATFORM_WEB` and `PLATFORM_DRM` ( #3611 )
* Fix IsMouseButtonUp() for PLATFORM_WEB
* Fix IsMouseButtonUp() for PLATFORM_DRM
2 years ago
ubkp
ab9bddb3bd
[rcore] Fix `IsMouseButtonUp()` and add touch events for `PLATFORM_DESKTOP_SDL` ( #3610 )
* Fix IsMouseButtonUp() and add touch events for PLATFORM_DESKTOP_SDL
* Fix coding convention
2 years ago
Kenneth M
8b33d1eeb9
Fix IsMouseButtonUp() ( #3609 )
2 years ago
ubkp
d99617d084
[rcore] Fix `IsKeyPressedRepeat()` for `PLATFORM_DESKTOP_SDL` ( #3605 )
* Fix IsKeyPressedRepeat() for PLATFORM_DESKTOP_SDL
* Fix missing space
2 years ago
ubkp
984e83c2d0
Fix GetKeyPressed and GetCharPressed for SDL ( #3604 )
2 years ago
Ray
d0a783e362
Revert "Fix Windows Hardcoding ( #3600 )"
This reverts commit 4ae2af0bcc .
2 years ago
Ray
5aa84a34ea
Revert "Fix warning while using external GLFW older than version 3.4.0 ( #3599 )"
This reverts commit f1b0d15813 .
2 years ago
mr sihc
4ae2af0bcc
Fix Windows Hardcoding ( #3600 )
Compiles on Linux & co. now
2 years ago
Marco Maia
f1b0d15813
Fix warning while using external GLFW older than version 3.4.0 ( #3599 )
Co-authored-by: Marco Maia <marco.maia@iarasystems.com.br>
2 years ago
ubkp
0748dc2d1e
Remove a duplicated loop for PLATFORM_DRM ( #3590 )
2 years ago
ubkp
bd81bdc24a
Fix IsKeyPressedRepeat() for PLATFORM_DRM direct input ( #3583 )
2 years ago
RadsammyT
fe53ba80dd
Fix typos in src/platforms/rcore_*.c ( #3581 )
2 years ago
ubkp
1906f1eddf
Fix SetMousePosition() for SDL ( #3580 )
2 years ago
ubkp
c35c531551
Fix SetWindowIcon() for SDL ( #3578 )
2 years ago
Ray
994c4f4bdf
Update rcore_desktop_sdl.c
2 years ago
_Tradam
e41a0c9721
fix for running gles2 with sdl on desktop ( #3542 )
2 years ago
ubkp
db70db5f4d
Fix missing keys on PLATFORM_DESKTOP_SDL ( #3539 )
2 years ago
ubkp
87f26c845c
Fix mouse button order for SDL ( #3534 )
2 years ago
Ray
1b88f2ec03
Review #3526
2 years ago
Ray
107ece438a
Reviewed duplicate lines
2 years ago
Ray
e4ea116857
Reviewing automation events on web...
2 years ago
ubkp
271a72f2f2
Fix absRange for PLATFORM_DRM ( #3517 )
2 years ago
ubkp
9a2b735645
Fix mouse/touch/gestures for PLATFORM_DRM ( #3515 )
2 years ago
Ray
3c3e311190
Remove unneeded line on web platform
2 years ago
Ray
807516a991
Support OpenGL ES 3.0 building on Web
For some reason, the equivalent requested context (WebGL 2.0) is not provided, despite being properly requested.
2 years ago
Ray
b40f93b9e3
Comments tweaks
2 years ago
ubkp
fe34fc7c6b
Partial fix the gesture system for DRM ( #3502 )
2 years ago
ubkp
de1ceae4b0
[core] Fix gestures for `PLATFORM_DESKTOP_SDL` ( #3499 )
* Fix gestures for SDL
* Review the gesture handling for SDL
* Review 2
2 years ago
Ray
d77c918d51
Update rcore_web.c
2 years ago
Ray
c563490cf8
Update rcore_web.c
2 years ago