Changed haptic test program to use announced effect type.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 02 Jun 2013 14:18:26 +0200
changeset 72638d69588e0269
parent 7262 3c5f6170df8e
child 7264 23a5c8f4b312
Changed haptic test program to use announced effect type.
test/testhaptic.c
     1.1 --- a/test/testhaptic.c	Sun Jun 02 14:13:21 2013 +0200
     1.2 +++ b/test/testhaptic.c	Sun Jun 02 14:18:26 2013 +0200
     1.3 @@ -145,7 +145,7 @@
     1.4      /* Now we'll try a SAWTOOTHUP */
     1.5      if (supported & SDL_HAPTIC_SAWTOOTHUP) {
     1.6          printf("   effect %d: Sawtooth Up\n", nefx);
     1.7 -        efx[nefx].type = SDL_HAPTIC_SQUARE;
     1.8 +        efx[nefx].type = SDL_HAPTIC_SAWTOOTHUP;
     1.9          efx[nefx].periodic.period = 500;
    1.10          efx[nefx].periodic.magnitude = 0x5000;
    1.11          efx[nefx].periodic.length = 5000;