Platform‐specific concerns - raysan5/raylib GitHub Wiki
Here it is a list of platform-specific concerns, listing non-consistent behaviours between platforms on some functionality.
-
Mouse behaviour:
- Mouse wheel behavior inconsistencies on Web: https://github.com/raysan5/raylib/pull/6291
SetMousePosition(), RGFW inconsistencies on HighDPI: https://github.com/raysan5/raylib/pull/6328
-
Windowing:
- When
FLAG_WINDOW_HIGHDPIis disabled,GetWindowScaleDPI()returns1.0onGLFW.SDLandRGFWreturn the actual window DPI scale. https://github.com/raysan5/raylib/pull/6372
- When
-
Keyboard:
IsKeyDown(KEY_PRINT_SCREEN)doesn't work onGLFW(and likely other backends) when running on Windows. It works properly on theWin32backend: https://github.com/raysan5/raylib/pull/6255- In GLFW, caps/num lock are set based the corresponding lock state of each key, rather than literal key presses. Other backends use the actual key state. First noted here: https://github.com/raysan5/raylib/pull/6255