summaryrefslogtreecommitdiffhomepage
path: root/src/platforms/rcore_drm.c
AgeCommit message (Collapse)Author
2024-07-16Adding GetKeyName(int key) (WIP) (#4161)MrScautHD
2024-06-30REVIEWED: Formatting, follow raylib coding conventionsRay
2024-06-30REVIEWED: Formatting, follow raylib coding conventionsRay
2024-05-07Implementing GetMonitorWidth/Height for DRM (#3956)gabriel-marques
* Implementing GetMonitorWidth/Height and GetMonitorPhysicalWidth/Height for drm Added implementation for DRM for functions : - GetMonitorWidth() - GetMonitorHeight() - GetMonitorPhysicalWidth() - GetMonitorPhysicalHeight() - GetMonnitorName() These functions take an argument but only the value 0 is accepted. This is because the DRM platform implementation manages only one screen for now * Refactor "GetMonitor" properties for DRM Platform Refactored GetMonitorHeight, GetMonitorWidth, GetMonitorPhysicalHeight, GetMonitorPhysicalWidth and GetMonitorName to accept only argument "0" as more than one screen is not supported in DRM platform.
2024-03-29Fixing gamepad buttons not working in drm backend (#3888)MrMugame
* Fixing gamepad buttons in drm backend * Remove trailing spaces * Axis enumeration now works properly
2024-03-28Update rcore_drm.cRay
2024-03-28Organizing the drm backend to only use one api to allow for more devices (#3879)MrMugame
* 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
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-02Update copyright to 2024Ray
2023-12-19Don't use a separate thread when polling for gamepad events on DRM platforms ↵Cinghy Creations
(#3641)
2023-12-11Optimize gesture handling for PLATFORM_DRM (#3616)ubkp
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-12-01Remove a duplicated loop for PLATFORM_DRM (#3590)ubkp
2023-11-30Fix IsKeyPressedRepeat() for PLATFORM_DRM direct input (#3583)ubkp
2023-11-28Fix typos in src/platforms/rcore_*.c (#3581)RadsammyT
2023-11-07Fix absRange for PLATFORM_DRM (#3517)ubkp
2023-11-07Fix mouse/touch/gestures for PLATFORM_DRM (#3515)ubkp
2023-11-02Comments tweaksRay
2023-11-02Partial fix the gesture system for DRM (#3502)ubkp
2023-11-01Moves keymapUS[] and fixes GetCharPressed for DRM (#3498)ubkp
2023-10-31Comments tweaksRay
2023-10-31Fix relative mouse mode for DRM (#3492)ubkp
2023-10-29Fix drm hang up on exit and mouse input issues (#3484)ubkp
2023-10-26Remove trail spacesRay
2023-10-23REVIEWED: `InitPlatform()` organization and code-gardeningRay
2023-10-19REVIEWED: Issue with functions definitionsRay
2023-10-19REVIEWED: Issue with symbols exposureRay
2023-10-19REDESIGNED: Move platforms to separate directory #3313Ray