|
Toast Engine
|
Requests a haptic play on a controller without routing through a PlayerController. More...
#include <input_events.hpp>


Public Member Functions | |
| PlayHapticDirect (uint32_t controller, assets::Handle< assets::Haptic > haptic) | |
Public Attributes | |
| uint32_t | controller |
| assets::Handle< assets::Haptic > | haptic |
| Public Attributes inherited from event::Event< PlayHapticDirect > | |
| friend | T |
Additional Inherited Members | |
| Public Types inherited from event::Event< PlayHapticDirect > | |
| using | callback_t |
| callbacks that return 'true' are consumed and do not propogate | |
| using | iterator_t |
Requests a haptic play on a controller without routing through a PlayerController.
Used by the editor's haptic test button
|
inline |
| controller | SDL_JoystickID of the target controller; 0 = first/active gamepad |