Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Changed haptic test program to use announced effect type.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jun 2, 2013
1 parent 52da540 commit 780bc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testhaptic.c
Expand Up @@ -145,7 +145,7 @@ main(int argc, char **argv)
/* Now we'll try a SAWTOOTHUP */
if (supported & SDL_HAPTIC_SAWTOOTHUP) {
printf(" effect %d: Sawtooth Up\n", nefx);
efx[nefx].type = SDL_HAPTIC_SQUARE;
efx[nefx].type = SDL_HAPTIC_SAWTOOTHUP;
efx[nefx].periodic.period = 500;
efx[nefx].periodic.magnitude = 0x5000;
efx[nefx].periodic.length = 5000;
Expand Down

0 comments on commit 780bc11

Please sign in to comment.