mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Merge branch 'exposeHaptics' of https://github.com/SamGondelman/hifi into exposeHaptics
This commit is contained in:
commit
b01a00584a
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ Joystick::Joystick(SDL_JoystickID instanceId, SDL_GameController* sdlGameControl
|
|||
_sdlHaptic(SDL_HapticOpenFromJoystick(_sdlJoystick)),
|
||||
_instanceId(instanceId)
|
||||
{
|
||||
if (!_sdlHaptic) {
|
||||
qDebug(SDL_GetError());
|
||||
}
|
||||
SDL_HapticRumbleInit(_sdlHaptic);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue