dhewm3-sdk/sys
Daniel Gibson a09487b720 From dhewm3: Add absolute mouse mode and refactor mouse grabbing code
The only change really is adding SE_MOUSE_ABS to sysEventType_t.
In theory this breaks the ABI, but in practice I don't think mods use
sysEventType_t, and certainly not the ones above SE_MOUSE
(SE_JOYSTICK_AXIS doesn't make sense as Doom3 never supported Joysticks,
 SE_CONSOLE is for input from TTY or whatever, and doesn't make sense
 for mods to use in any way)

The change in Stub_SDL_endian.h is just me being paranoid.
(side-note: it *might* make sense to replace all that inline-asm in
 Stub_SDL_endian.h with compiler intrinsics like GCC/clangs
 __builtin_bswap* and MSVCs _byteswap_* - if they are supported in
 all relevant compiler versions. GCC supports 32 and 64 bit swaps since
 4.3, 16bit since 4.8 and 128bit since 11.x; clang supports 32 and
 64 bit swaps at least since 3.0 and 16bit swaps since 3.2;
 VS introduced _byteswap_ushort, .._ulong and .._uint64 in VS2003)
2022-05-17 07:17:46 +02:00
..
platform.h ID_MAYBE_INLINE for not-forced inlining 2020-09-06 04:36:40 +02:00
Stub_SDL_endian.h From dhewm3: Add absolute mouse mode and refactor mouse grabbing code 2022-05-17 07:17:46 +02:00
sys_public.h From dhewm3: Add absolute mouse mode and refactor mouse grabbing code 2022-05-17 07:17:46 +02:00