src/haptic/linux/SDL_syshaptic.c
changeset 7678 286c42d7c5ed
parent 7677 871d43c6968a
child 7708 d5aa9910b1f7
     1.1 --- a/src/haptic/linux/SDL_syshaptic.c	Wed Aug 21 09:43:09 2013 -0300
     1.2 +++ b/src/haptic/linux/SDL_syshaptic.c	Wed Aug 21 09:47:10 2013 -0300
     1.3 @@ -100,7 +100,7 @@
     1.4      EV_TEST(FF_CONSTANT, SDL_HAPTIC_CONSTANT);
     1.5      EV_TEST(FF_SINE, SDL_HAPTIC_SINE);
     1.6      /* !!! FIXME: put this back when we have more bits in 2.1 */
     1.7 -    /*EV_TEST(FF_SQUARE, SDL_HAPTIC_SQUARE); */
     1.8 +    /* EV_TEST(FF_SQUARE, SDL_HAPTIC_SQUARE); */
     1.9      EV_TEST(FF_TRIANGLE, SDL_HAPTIC_TRIANGLE);
    1.10      EV_TEST(FF_SAW_UP, SDL_HAPTIC_SAWTOOTHUP);
    1.11      EV_TEST(FF_SAW_DOWN, SDL_HAPTIC_SAWTOOTHDOWN);
    1.12 @@ -600,7 +600,7 @@
    1.13  
    1.14      case SDL_HAPTIC_SINE:
    1.15      /* !!! FIXME: put this back when we have more bits in 2.1 */
    1.16 -    /*case SDL_HAPTIC_SQUARE: */
    1.17 +    /* case SDL_HAPTIC_SQUARE: */
    1.18      case SDL_HAPTIC_TRIANGLE:
    1.19      case SDL_HAPTIC_SAWTOOTHUP:
    1.20      case SDL_HAPTIC_SAWTOOTHDOWN:
    1.21 @@ -625,7 +625,7 @@
    1.22          if (periodic->type == SDL_HAPTIC_SINE)
    1.23              dest->u.periodic.waveform = FF_SINE;
    1.24          /* !!! FIXME: put this back when we have more bits in 2.1 */
    1.25 -        /*else if (periodic->type == SDL_HAPTIC_SQUARE)
    1.26 +        /* else if (periodic->type == SDL_HAPTIC_SQUARE)
    1.27              dest->u.periodic.waveform = FF_SQUARE; */
    1.28          else if (periodic->type == SDL_HAPTIC_TRIANGLE)
    1.29              dest->u.periodic.waveform = FF_TRIANGLE;