Add SDL_Process subsystem

This commit is contained in:
Semphris
2024-08-29 13:06:25 -04:00
committed by Sam Lantinga
parent 6c83491116
commit 9eea8234e6
30 changed files with 2414 additions and 1 deletions

View File

@@ -326,6 +326,11 @@
#cmakedefine SDL_LIBUSB_DYNAMIC @SDL_LIBUSB_DYNAMIC@
#cmakedefine SDL_UDEV_DYNAMIC @SDL_UDEV_DYNAMIC@
/* Enable various process implementations */
#cmakedefine SDL_PROCESS_DUMMY @SDL_PROCESS_DUMMY@
#cmakedefine SDL_PROCESS_POSIX @SDL_PROCESS_POSIX@
#cmakedefine SDL_PROCESS_WINDOWS @SDL_PROCESS_WINDOWS@
/* Enable various sensor drivers */
#cmakedefine SDL_SENSOR_ANDROID @SDL_SENSOR_ANDROID@
#cmakedefine SDL_SENSOR_COREMOTION @SDL_SENSOR_COREMOTION@

View File

@@ -159,6 +159,9 @@
#define SDL_HAPTIC_ANDROID 1
#endif /* SDL_HAPTIC_DISABLED */
/* Enable the stub process support */
#define SDL_PROCESS_DUMMY 1
/* Enable sensor driver */
#ifndef SDL_SENSOR_DISABLED
#define SDL_SENSOR_ANDROID 1

View File

@@ -166,6 +166,9 @@
#define SDL_JOYSTICK_EMSCRIPTEN 1
#define SDL_JOYSTICK_VIRTUAL 1
/* Enable various process implementations */
#define SDL_PROCESS_DUMMY 1
/* Enable various sensor drivers */
#define SDL_SENSOR_DUMMY 1

View File

@@ -152,6 +152,9 @@
#define SDL_JOYSTICK_MFI 1
#define SDL_JOYSTICK_VIRTUAL 1
/* Enable various process implementations */
#define SDL_PROCESS_DUMMY 1
#ifdef SDL_PLATFORM_TVOS
#define SDL_SENSOR_DUMMY 1
#else

View File

@@ -170,6 +170,9 @@
#define SDL_JOYSTICK_MFI 1
#endif
/* Enable various process implementations */
#define SDL_PROCESS_POSIX 1
/* Enable the dummy sensor driver */
#define SDL_SENSOR_DUMMY 1

View File

@@ -74,6 +74,9 @@ typedef unsigned int uintptr_t;
/* Enable the stub HIDAPI */
#define SDL_HIDAPI_DISABLED 1
/* Enable the stub process support */
#define SDL_PROCESS_DUMMY 1
/* Enable the stub sensor driver (src/sensor/dummy/\*.c) */
#define SDL_SENSOR_DISABLED 1

View File

@@ -77,6 +77,9 @@ typedef unsigned long uintptr_t;
/* Enable the stub HIDAPI */
#define SDL_HIDAPI_DISABLED 1
/* Enable the stub process support */
#define SDL_PROCESS_DUMMY 1
/* Enable the stub sensor driver (src/sensor/dummy/\*.c) */
#define SDL_SENSOR_DISABLED 1

View File

@@ -250,6 +250,9 @@ typedef unsigned int uintptr_t;
#define SDL_JOYSTICK_XINPUT 1
#define SDL_HAPTIC_DINPUT 1
/* Enable various process implementations */
#define SDL_PROCESS_WINDOWS 1
/* Enable the sensor driver */
#ifdef HAVE_SENSORSAPI_H
#define SDL_SENSOR_WINDOWS 1

View File

@@ -174,6 +174,9 @@
#define SDL_JOYSTICK_XINPUT 1
#define SDL_HAPTIC_DINPUT 1
/* Enable various process implementations */
#define SDL_PROCESS_WINDOWS 1
/* Enable the sensor driver */
#ifdef HAVE_SENSORSAPI_H
#define SDL_SENSOR_WINDOWS 1

View File

@@ -172,6 +172,9 @@
#define SDL_JOYSTICK_GAMEINPUT 1
#define SDL_HAPTIC_DUMMY 1
/* Enable various process implementations */
#define SDL_PROCESS_DUMMY 1
/* Enable the sensor driver */
#ifdef HAVE_SENSORSAPI_H
#define SDL_SENSOR_WINDOWS 1