src/haptic/darwin/SDL_syshaptic.c
changeset 13789 a359f4f93439
parent 13635 701fe6486077
child 13860 d16844f83bfd
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Mon May 04 10:16:10 2020 -0700
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Mon May 04 13:17:43 2020 -0700
     1.3 @@ -765,7 +765,7 @@
     1.4              rglDir[2] = dir->dir[2];
     1.5          }
     1.6          return 0;
     1.7 -    case SDL_HAPTIC_FIRST_AXIS:
     1.8 +    case SDL_HAPTIC_STEERING_AXIS:
     1.9          effect->dwFlags |= FFEFF_CARTESIAN;
    1.10          rglDir[0] = 0;
    1.11          return 0;
    1.12 @@ -817,7 +817,7 @@
    1.13      envelope->dwSize = sizeof(FFENVELOPE);      /* Always should be this. */
    1.14  
    1.15      /* Axes. */
    1.16 -    if (src->constant.direction.type == SDL_HAPTIC_FIRST_AXIS) {
    1.17 +    if (src->constant.direction.type == SDL_HAPTIC_STEERING_AXIS) {
    1.18          dest->cAxes = 1;
    1.19      } else {
    1.20          dest->cAxes = haptic->naxes;