Removed no-longer-necessary comment.
This commit is contained in:
parent
c35c4a6f18
commit
de6d6a5554
1 changed files with 0 additions and 4 deletions
|
@ -1271,10 +1271,6 @@ SDL_SYS_HapticUpdateEffect(SDL_Haptic * haptic,
|
||||||
DIEFFECT temp;
|
DIEFFECT temp;
|
||||||
|
|
||||||
if (haptic->hwdata->bXInputHaptic) {
|
if (haptic->hwdata->bXInputHaptic) {
|
||||||
/* From MSDN:
|
|
||||||
"Note that the right motor is the high-frequency motor, the left
|
|
||||||
motor is the low-frequency motor. They do not always need to be
|
|
||||||
set to the same amount, as they provide different effects." */
|
|
||||||
XINPUT_VIBRATION *vib = &effect->hweffect->vibration;
|
XINPUT_VIBRATION *vib = &effect->hweffect->vibration;
|
||||||
SDL_assert(data->type == SDL_HAPTIC_LEFTRIGHT);
|
SDL_assert(data->type == SDL_HAPTIC_LEFTRIGHT);
|
||||||
vib->wLeftMotorSpeed = data->leftright.large_magnitude;
|
vib->wLeftMotorSpeed = data->leftright.large_magnitude;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue