SDL/include/SDL3
Sam Lantinga f37eef948c Removed raw mouse events
It's too close the 3.2.0 release for an API change like this.

If/when we re-add these, some things for consideration:
* What use cases does this enable that aren't currently possible?
* What cross-platform API guarantees do we make about the availability of these events? e.g. do we try to simulate them where raw input isn't actually available?
* How is this different from the existing relative mode, and how do we clearly explain when you want these events vs wanting relative mode?

Notes from @expikr:
First observation: the reason I originally passed denominators instead of multipliers was because some rational values cannot be exactly represented by floats (e.g 1/120) so instead let the end-developer decide how to do the dividing themselves. It was the reason why it was using split values with an integer numerator to begin with, instead of having both as floats or even just normalize it in advance.

On the other hand, passing them as multipliers might have hypothetical uses for dynamically passing end-user controlled scaling in a transparent manner without coupling? (Though in that case why not just do that as additional fields appended to `motion` structs in an API-compatible layout?)

So it’s somewhat of a philosophical judgement of what this API of optional availability do we intend for it to present itself as:
- should it be a bit-perfect escape hatch with the absolute minimally-denominal abstraction over platform details just enough to be able to serve the full information (á la HIDPIAPI),
- or a renewed ergonomic API for splitting relative motion from cursor motion (in light of The Great Warping Purge) so that it is unburdened by legacy RelativeMode state machines, in which case it would be more appropriate to just call it `RELATIVE` instead of `RAW` and should be added alongside another new event purely for cursor events?

This alternate API stream was conceived in the context of preserving compatibility of the existing RelativeMode state machine by adding an escape hatch. So given the same context, my taste leans towards the former designation.

However, as The Great Warping Purge has made it potentially viable to do so, if I were allowed to break ABI by nuking the RelativeMode state machine entirely, I would prefer the latter designation unified as one of three separate components split from the old state machine, each independently controlled by platform-dependent availability without any state switching of a leaky melting pot:
- cursor visibility controls (if platform has cursor)
- cursor motion events (if platform has cursor)
- relative motion events (if the platform reports hardware motion)
2024-12-21 05:18:42 -08:00
..
SDL.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_assert.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_asyncio.h Sync SDL3 wiki -> header 2024-12-05 08:29:19 +00:00
SDL_atomic.h Fix outdated references to SDL symbols in docs. Fixes #11503 2024-11-22 15:52:31 -05:00
SDL_audio.h Sync SDL3 wiki -> header 2024-12-02 00:37:15 +00:00
SDL_begin_code.h Sync SDL3 wiki -> header 2024-12-20 00:13:34 +00:00
SDL_bits.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_blendmode.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_camera.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_clipboard.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_close_code.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_copying.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_cpuinfo.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_dialog.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_egl.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_endian.h Sync SDL3 wiki -> header 2024-12-19 21:44:12 +00:00
SDL_error.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_events.h Removed raw mouse events 2024-12-21 05:18:42 -08:00
SDL_filesystem.h SDL_filesystem.h: Fill in missing documentation. 2024-12-20 02:39:28 -05:00
SDL_gamepad.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_gpu.h Sync SDL3 wiki -> header 2024-12-20 15:57:39 +00:00
SDL_guid.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_haptic.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_hidapi.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_hints.h Removed SDL_HINT_MOUSE_RELATIVE_MODE_WARP 2024-12-19 10:33:02 -08:00
SDL_init.h Sync SDL3 wiki -> header 2024-12-06 00:49:29 +00:00
SDL_intrin.h SDL_intrin.h: Added missing NEON and Altivec documentation. 2024-12-17 23:33:05 -05:00
SDL_iostream.h Sync SDL3 wiki -> header 2024-11-14 01:12:18 +00:00
SDL_joystick.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_keyboard.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_keycode.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_loadso.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_locale.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_log.h Sync SDL3 wiki -> header 2024-11-28 04:36:33 +00:00
SDL_main.h include: Always declare SDL_GDKSuspendComplete. 2024-12-20 13:14:55 -05:00
SDL_main_impl.h ngage: Remove Nokia N-Gage support. 2024-12-11 13:29:43 -05:00
SDL_messagebox.h Fix outdated references to SDL symbols in docs. Fixes #11503 2024-11-22 15:52:31 -05:00
SDL_metal.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_misc.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_mouse.h Document that video and input functions should be called on the main thread. 2024-12-05 13:53:51 -08:00
SDL_mutex.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_oldnames.h video: Change SDL_GLattr to SDL_GLAttr. 2024-10-23 18:50:52 -04:00
SDL_opengl.h Add macro guards for OpenGL <=1.3 function prototypes 2024-10-12 11:21:07 -04:00
SDL_opengl_glext.h Renamed Gpu to GPU 2024-08-29 17:33:52 -07:00
SDL_opengles.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_opengles2.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_opengles2_gl2.h
SDL_opengles2_gl2ext.h
SDL_opengles2_gl2platform.h
SDL_opengles2_khrplatform.h
SDL_pen.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_pixels.h Sync SDL3 wiki -> header 2024-12-18 06:22:41 +00:00
SDL_platform.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_platform_defines.h ngage: Remove Nokia N-Gage support. 2024-12-11 13:29:43 -05:00
SDL_power.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_process.h Sync SDL3 wiki -> header 2024-12-19 01:06:43 +00:00
SDL_properties.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_rect.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_render.h Sync SDL3 wiki -> header 2024-12-18 15:41:13 +00:00
SDL_revision.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_scancode.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_sensor.h include: Filling in some more documentation gaps. 2024-12-18 01:18:40 -05:00
SDL_stdinc.h Sync SDL3 wiki -> header 2024-12-21 13:15:56 +00:00
SDL_storage.h Sync SDL3 wiki -> header 2024-10-27 21:42:48 +00:00
SDL_surface.h Fixed an inaccuracy in the documentation for SDL_ConvertPixelsAndColorspace 2024-12-18 14:20:24 -08:00
SDL_system.h Sync SDL3 wiki -> header 2024-11-28 04:36:33 +00:00
SDL_test.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_assert.h SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
SDL_test_common.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_compare.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_crc32.h Updated check for stdbool.h 2024-09-28 16:55:09 -07:00
SDL_test_font.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_fuzzer.h Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
SDL_test_harness.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_log.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_md5.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_memory.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_thread.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_time.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_timer.h SDL_timer.h: Fixed doxygen typo. 2024-12-19 16:46:42 -05:00
SDL_touch.h include: Filled in more documentation gaps. 2024-12-19 16:42:14 -05:00
SDL_version.h Updated to version 3.1.7 for development 2024-11-01 15:49:31 -07:00
SDL_video.h Sync SDL3 wiki -> header 2024-12-17 15:46:19 +00:00
SDL_vulkan.h SDL_vulkan.h: undefine VK_DEFINE_HANDLER and VK_DEFINE_NON_DISPATCHABLE_HANDLE 2024-10-29 20:30:10 +03:00