| Age | Commit message (Collapse) | Author |
|
- Review formatting
- Improve readability for some functions result return
- Minimize early returns
- Align LoadFileData() to UnloadFileData()
|
|
|
|
|
|
|
|
|
|
The way the current code worked was by calling `GetCurrentMonitor()`,
which would always return the monitor at position (0,0). This isn't the
primary monitor on all platforms, on Linux in particular it isn't the
case.
This isn't the case on the SDL backend, after calling `InitWindow()` the
window would always show up on the primary monitor. Even on the GLFW
backend, if the full screen flag was set it would attempt to put it on
the primary monitor as it would call `glfwGetPrimaryMonitor()` to do it,
so for consistency's sake we should do it on windowed mode too.
|
|
This reverts commit c1fd98591d7996dd45a5ce9ecbb4b571607d417b.
|
|
|
|
|
|
|
|
spec (#3920)
|
|
The key handling in PLATFORM_DESKTOP_SDL was faulty in two ways, which
led to GetKeyPressed returning incorrect data.
CORE.Input.Keyboard.keyPressedQueue was updated only on SDL_TEXTINPUT,
meaning only text characters were registered as a pressed key, but not
function keys (eg. tab, backspace...). Also on such event, both
CORE.Input.Keyboard.keyPressedQueue and
CORE.Input.Keyboard.charPressedQueue were assigned the key's
corresponding codepoint, when CORE.Input.Keyboard.keyPressedQueue
should get the raylib keycode instead.
CORE.Input.Keyboard.keyPressedQueue is now updated on SDL_KEYDOWN event
instead.
Co-authored-by: Arthur <[email protected]>
|
|
|
|
Fixes some crashes, e.g. calling StopMusicStream after trying to load Music from a non-existant .mp3 file
|
|
|
|
* fix local dependency breakage
* revert accidental change in include path
|
|
Line 110 of file rlgl.h is the one in question.
|
|
* update to latest zig, and don't use srcdir
* preserve compatibility, simplify Child.run compatibility
|
|
Fix typo
|
|
add gamepad previous button state tracking to Android
|
|
|
|
|
|
Changed the raylib version from 4.2.0 to 5.1-dev, just like the raylib.h file
|
|
|
|
|
|
|
|
The changes brought by #3891 uses `std.process.Child.run` which was
renamed from `std.process.Child.exec` in Zig version 0.11.0. This commit
adds a version check to use the appropriate function names.
Additionally, the `linux_display_backend` configuration option is added
so users can set it when running `zig build` with the `-D` option or
when using raylib as a dependency.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fixes zig build that was broken on #3863
* Make this work with wayland
|
|
|
|
* Fixing gamepad buttons in drm backend
* Remove trailing spaces
* Axis enumeration now works properly
|
|
|
|
* Updating rcore_drm.c to only use one api for input
* Change RPI log prefix to DRM
* Remove relative checking which is not supported currently
* Loop should continue on invalid event in drm backend
* Fixed and cleaned up PollKeyboardEvents() in drm backend
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fix GLFW runtime platform detection
* Add libwayland-dev package to workflows
* Add libxkbcommon-dev package to workflows
* Add libwayland-bin package to codeql.yml
* Add libwayland-client0 and libwayland-cursor0 packages to codeql.yml
* Use libwayland-dev in codeql.yml
* Add libxkbcommon-dev to codeql.yml
* Remove libwayland-bin from linux.yml and linux_examples.yml (libwayland-dev includes it as a dependency)
---------
Co-authored-by: Ray <[email protected]>
|