Skip to content
Permalink
Browse files

onepad: Broken haptic != Broken controller.

  • Loading branch information
arcum42 committed Feb 2, 2020
1 parent 69ae598 commit 8550cb9b1b618b2cffb618c12499fe0c6a13c050
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/onepad/SDL/joystick.cpp
@@ -223,7 +223,8 @@ JoystickInfo::JoystickInfo(int id)
eid = SDL_HapticNewEffect(m_haptic, &effects[0]);
if (eid < 0) {
fprintf(stderr, "ERROR: Effect is not uploaded! %s\n", SDL_GetError());
return;
m_haptic = nullptr;
break;
}
}
}

0 comments on commit 8550cb9

Please sign in to comment.
You can’t perform that action at this time.