Skip to content

Commit fd5e685

Browse files
Add SDL_HAPTIC_STEERING_AXIS
1 parent 0a7393e commit fd5e685

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

units/sdlhaptic.inc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,15 @@ const
304304
const
305305
SDL_HAPTIC_SPHERICAL = 2;
306306

307+
{**
308+
* \brief Use this value to play an effect on the steering wheel axis. This
309+
* provides better compatibility across platforms and devices as SDL will guess
310+
* the correct axis.
311+
* \sa SDL_HapticDirection
312+
*}
313+
const
314+
SDL_HAPTIC_STEERING_AXIS = 3;
315+
307316
{*
308317
* Misc defines.
309318
*}

0 commit comments

Comments
 (0)