From afe30686045992f09902c1d11347bee9cf87adbd Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Tue, 15 Jun 2021 02:12:30 +0000 Subject: [PATCH] bump SDL2 includes to 2.0.14 --- include/SDL2/SDL_haptic.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/SDL2/SDL_haptic.h b/include/SDL2/SDL_haptic.h index aa6f47f..c27da11 100644 --- a/include/SDL2/SDL_haptic.h +++ b/include/SDL2/SDL_haptic.h @@ -336,6 +336,14 @@ */ #define SDL_HAPTIC_SPHERICAL 2 +/** + * \brief Use this value to play an effect on the steering wheel axis. This + * provides better compatibility across platforms and devices as SDL will guess + * the correct axis. + * \sa SDL_HapticDirection + */ +#define SDL_HAPTIC_STEERING_AXIS 3 + /* @} *//* Direction encodings */ /* @} *//* Haptic features */ @@ -444,6 +452,7 @@ * \sa SDL_HAPTIC_POLAR * \sa SDL_HAPTIC_CARTESIAN * \sa SDL_HAPTIC_SPHERICAL + * \sa SDL_HAPTIC_STEERING_AXIS * \sa SDL_HapticEffect * \sa SDL_HapticNumAxes */ -- Gitblit v1.9.3