SDL/include/SDL3
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
..
SDL.h Updated to version 3.1.11 for development 2025-01-16 11:41:28 -08:00
SDL_assert.h assert: Try using __builtin_trap() for SDL_TriggerBreakpoint(). 2025-01-20 01:02:30 -05:00
SDL_asyncio.h Sync SDL3 wiki -> header 2025-01-13 20:58:20 +00:00
SDL_atomic.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audio.h Sync SDL3 wiki -> headers. 2025-01-17 18:42:04 -05:00
SDL_begin_code.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_bits.h _BitScanReverse was introduced in Microsoft Visual Studio 2005 2025-01-09 16:04:14 -05:00
SDL_blendmode.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_camera.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_clipboard.h Reverted accidentally committed work in progress 2025-01-01 07:54:55 -08:00
SDL_close_code.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_copying.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_cpuinfo.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_dialog.h Sync SDL3 wiki -> header 2025-01-08 01:50:36 +00:00
SDL_egl.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_endian.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_error.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_events.h Sync SDL3 wiki -> header 2025-01-15 03:27:28 +00:00
SDL_filesystem.h Sync SDL3 wiki -> header 2025-01-16 13:20:18 +00:00
SDL_gamepad.h Sync SDL3 wiki -> header 2025-01-02 19:17:51 +00:00
SDL_gpu.h Sync SDL3 wiki -> header 2025-01-17 23:11:30 +00:00
SDL_guid.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_haptic.h Translate conditional effect direction instead of hardcoding it to 0 2025-01-20 16:52:40 -08:00
SDL_hidapi.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_hints.h Sync SDL3 wiki -> header 2025-01-20 04:34:56 +00:00
SDL_init.h Sync SDL3 wiki -> header 2025-01-08 01:50:36 +00:00
SDL_intrin.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_iostream.h Sync SDL3 wiki -> header 2025-01-14 01:19:09 +00:00
SDL_joystick.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_keyboard.h SDL_keyboard.h: Note that SDL_GetKeyName() returns uppercase letters. 2025-01-06 12:47:44 -05:00
SDL_keycode.h keyboard: Add some SDL keycodes for common Xkb keys 2025-01-09 17:26:41 -05:00
SDL_loadso.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_locale.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_log.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_main.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_main_impl.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_messagebox.h Sync SDL3 wiki -> header 2025-01-16 18:18:47 +00:00
SDL_metal.h include: Fill in more category documentation. 2025-01-05 14:11:11 -05:00
SDL_misc.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_mouse.h Sync SDL3 wiki -> header 2025-01-18 15:12:47 +00:00
SDL_mutex.h include: More category documentation. 2025-01-20 01:37:25 -05:00
SDL_oldnames.h Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS 2025-01-02 17:18:09 -08:00
SDL_opengl.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_opengl_glext.h Renamed Gpu to GPU 2024-08-29 17:33:52 -07:00
SDL_opengles.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_opengles2.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_opengles2_gl2.h
SDL_opengles2_gl2ext.h
SDL_opengles2_gl2platform.h
SDL_opengles2_khrplatform.h
SDL_pen.h pen: Send virtual mouse and touch events for pen input. 2025-01-15 02:19:59 -05:00
SDL_pixels.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_platform.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_platform_defines.h Fixed platform define condition for Windows phone 2025-01-07 08:47:54 -08:00
SDL_power.h Sync SDL3 wiki -> header 2025-01-19 17:12:43 +00:00
SDL_process.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_properties.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_rect.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_render.h Sync SDL3 wiki -> header 2025-01-16 18:29:57 +00:00
SDL_revision.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_scancode.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_sensor.h include: Added a tiny bit to SDL_sensor.h's category documentation. 2025-01-20 01:39:37 -05:00
SDL_stdinc.h Sync SDL3 wiki -> header 2025-01-10 06:39:06 +00:00
SDL_storage.h storage: enumerate and glob on storage can accept a NULL path. 2025-01-17 20:11:50 -05:00
SDL_surface.h Sync SDL3 wiki -> header 2025-01-02 20:06:39 +00:00
SDL_system.h include: Fill in more category documentation. 2025-01-05 14:11:11 -05:00
SDL_test.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_assert.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_common.h Adjust testgl.c to test gl_release_behavior 2025-01-16 08:19:05 -05:00
SDL_test_compare.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_crc32.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_font.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_fuzzer.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_harness.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_log.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_md5.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_test_memory.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_thread.h include: More category documentation. 2025-01-20 01:37:25 -05:00
SDL_time.h include: More category documentation. 2025-01-20 01:02:30 -05:00
SDL_timer.h Sync SDL3 wiki -> header 2025-01-19 23:59:37 +00:00
SDL_touch.h include: More category documentation. 2025-01-20 01:02:30 -05:00
SDL_tray.h include: More category documentation. 2025-01-20 01:02:30 -05:00
SDL_version.h Updated to version 3.1.11 for development 2025-01-16 11:41:28 -08:00
SDL_video.h Note that the primary monitor isn't always at 0,0 2025-01-17 11:52:33 -08:00
SDL_vulkan.h Sync SDL3 wiki -> header 2025-01-04 08:24:05 +00:00