Toast Engine
Loading...
Searching...
No Matches
input::HapticsSystem Class Reference

Public Member Functions

 HapticsSystem (const HapticsSystem &)=delete
auto operator= (const HapticsSystem &) -> HapticsSystem &=delete
void play (uint32_t controller, assets::Handle< assets::Haptic > haptic)
void setGlobalMultiplier (float multiplier) noexcept
auto globalMultiplier () const noexcept -> float
void tick ()

Static Public Member Functions

static auto get () noexcept -> HapticsSystem &

Member Function Documentation

◆ play()

void input::HapticsSystem::play ( uint32_t controller,
assets::Handle< assets::Haptic > haptic )
Parameters
controllerSDL_JoystickID of the target controller; 0 = first/active gamepad

The documentation for this class was generated from the following files: