Go to file
Tomasz Pakuła c6c7469708 Translate conditional effect direction instead of hardcoding it to 0
Provious code wrongly assumed that direction is not an important part
of conditional effect. Moreover, if there's need to hardcode polar
direction, the default should be 0x4000 (north).

For one axis affects, a direction of 0 means complete lack of force, if
a FFB-enabled device takes direction into force calculation. A sine function
graph can be used to represent the resulting forces where X is the input
direction and Y is the force multiplier (360 degrees equals to 1).

This fixes conditional effect playback on Moza Racing devices, which do
not ignore direction field.
2025-01-20 16:52:40 -08:00
.github ci: add summary to release.yml 2025-01-16 18:24:13 +01:00
VisualC io: Renamed src/file to src/io 2025-01-16 08:18:40 -05:00
VisualC-GDK io: Renamed src/file to src/io 2025-01-16 08:18:40 -05:00
Xcode release: document using the xcframework with CMake 2025-01-18 06:29:17 -08:00
android-project Updated to version 3.1.11 for development 2025-01-16 11:41:28 -08:00
build-scripts fnsince.pl: Fix script once bump to 3.1.10 exposed a bug. 2025-01-17 18:39:12 -05:00
cmake Removed obsolete warnings about MIT licensed SIMD code 2025-01-13 16:42:50 -08:00
docs Updated README-platforms.md 2025-01-16 16:21:18 -08:00
examples Fixed wrong type of `phase` (#12014) 2025-01-17 18:12:47 -08:00
include Translate conditional effect direction instead of hardcoding it to 0 2025-01-20 16:52:40 -08:00
src Translate conditional effect direction instead of hardcoding it to 0 2025-01-20 16:52:40 -08:00
test Revert "testautomation: don't validate alpha values on XRGB formats" 2025-01-20 12:57:48 -08:00
wayland-protocols wayland: Remove kde_output_order_v1 support 2024-10-19 11:16:30 -04:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Allow in-tree build 2024-10-30 00:04:17 +01:00
.wikiheaders-options wikiheaders: Allow symbols to be filtered from manpage generation by regex. 2025-01-09 14:13:00 -05:00
Android.mk io: Renamed src/file to src/io 2025-01-16 08:18:40 -05:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt Fixed typo 2025-01-18 06:23:14 -08:00
CREDITS.md Updated the credits for SDL 3.0 2025-01-13 16:42:50 -08:00
INSTALL.md Added INTRO-androidstudio.md 2025-01-13 16:42:50 -08:00
LICENSE.txt Updated copyright for 2025 2025-01-01 07:45:52 -08:00
README.md Updating documentation for the 3.2.0 release 2025-01-15 20:38:16 -08:00
WhatsNew.txt Updating documentation for the 3.2.0 release 2025-01-15 20:38:16 -08:00

README.md

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)