test/testhaptic.c
changeset 8741 d5b21f813734
parent 8149 681eb46b8ac4
child 9070 8973a237f360
     1.1 --- a/test/testhaptic.c	Sat Apr 26 11:23:55 2014 -0700
     1.2 +++ b/test/testhaptic.c	Sat Apr 26 12:29:40 2014 -0700
     1.3 @@ -1,14 +1,3 @@
     1.4 -/*
     1.5 -  Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
     1.6 -
     1.7 -  This software is provided 'as-is', without any express or implied
     1.8 -  warranty.  In no event will the authors be held liable for any damages
     1.9 -  arising from the use of this software.
    1.10 -
    1.11 -  Permission is granted to anyone to use this software for any purpose,
    1.12 -  including commercial applications, and to alter it and redistribute it
    1.13 -  freely.
    1.14 -*/
    1.15  /*
    1.16  Copyright (c) 2008, Edgar Simo Serra
    1.17  All rights reserved.
    1.18 @@ -199,7 +188,7 @@
    1.19      /* The pretty awesome inertia effect. */
    1.20      if (supported & SDL_HAPTIC_INERTIA) {
    1.21          SDL_Log("   effect %d: Condition Inertia\n", nefx);
    1.22 -        efx[nefx].type = SDL_HAPTIC_SPRING;
    1.23 +        efx[nefx].type = SDL_HAPTIC_INERTIA;
    1.24          efx[nefx].condition.length = 5000;
    1.25          for (i = 0; i < SDL_HapticNumAxes(haptic); i++) {
    1.26              efx[nefx].condition.right_sat[i] = 0x7FFF;