| Readme: | SDL3 Package for MorphOS 3.20+ system. *******************************************
SDL 3.4.10 - 06.06.2026 SDL_mixer 3.3.0 - 06.06.2026 SDL_image 3.4.4 - 06.06.2026 SDL_ttf 3.3.0 - 06.06.2026
SDL_net 3 not available yet
Simple DirectMedia Layer ************************
What is it? Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL/Direct3D/Metal/Vulkan. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
SDL 2.0 and newer are available under the zlib license. This license allows you to use SDL freely in any software.
https://libsdl.org/ https://wiki.libsdl.org/
Requirement: ************
MorphOS 3.20 minimun MorphOS SDK 3.20
Installation: *************
Just install with installer.
Installer is very simple: - cleanup all HINTS (variables into ENV/ENVARC) - install soundfound for SDL3_mixer into your LIBS: - install SDK files if you want
You can find programs into "extras" directory
SDL3 MorphOS Features: **********************
SDL3 supports: - GamedPad (same database as SDL2): sensors (Rumble support but limited) - AHI audio - OpenGL - Software and OpenGL renderer supported - pthread - power - IO - locale - ALTIVEC
SDL3_mixer support: (builded with) - AIFF / AU / VOC / WAV - DRFLAC DRMPG3 - OPUS - fluidsynth (SDL2 use libtimidity) - XMP
SDL3_image support: (build with) - libpng - libjpeg - libtiff - libwebp
SDL3 dont support: - sensor - process - gpu - camera - haptic and hidapi
SDL3 bugs: - ... plz report me bug
Menu on window control: ************************* You can disable Menu SDL3 on all window:
example code using SDL_CreateWindowWithProperties():
SDL_PropertiesID props = SDL_CreateProperties(); SDL_SetBooleanProperty(props, "SDL.window.create.morphos.menu", false); SDL_SetStringProperty(props, SDL_PROP_WINDOW_CREATE_TITLE_STRING, "SDL3 window Unless menu"); SDL_SetNumberProperty(props, SDL_PROP_WINDOW_CREATE_WIDTH_NUMBER, 640); SDL_SetNumberProperty(props, SDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER, 480); SDL_Window* sdl_window = SDL_CreateWindowWithProperties(props); SDL_DestroyProperties(props);
GameController Readme: **********************
You can create your own mapping file for any joystick (gamecontrollerdb.txt): check directory controller map Specific to MorphOS, you can put this file in your ENVARC. Then any game can use it! Then there's no need to put this file in indiviual game directories.
A MorphOS community sourced database of game controller mappings can be used that have SDL2/SDL3 Game Controller functionality, which is available here : https://github.com/BeWorld2018/gamecontrollerdb.txt
Please don't hesitate to participate in adding to this database, so kindly send me your working mapping(s) to add to our database. Thanks!
NOTES: ******
Thanks to Capehill for his OS4 sources code. Thanks to Ilkka Lehtoranta for his sources code (SDL2 2.0.3 and SDL2_image 2.0.0). Thanks to Szilard Biro (BSzili) for his help and his major contribution. Thanks to Bigfoot for TinyGL updates, his help and his contribution. Thanks to Jaca for fix rumble on XBox One and compatible gamepads Thanks to all members of MorphOS Teams for their patience with me and their indispensable help. Thanks to all testers and developers (for libs and contributes).
BeWorld
BeWorld@sfr.fr
|