Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Changed haptic test program to use announced effect type.

  • Loading branch information
philippwiesemann committed Jun 2, 2013
1 parent 52da540 commit 780bc1103a48f1701eef4f5f940811ff5e4fa113
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testhaptic.c
@@ -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;

0 comments on commit 780bc11

Please sign in to comment.