|
JNGL
Easy to use cross-platform 2D game library
|
Functions to control haptic feedback (vibration) More...
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | jngl |
| JNGL's main namespace. | |
Enumerations | |
| enum class | HapticFeedback : uint8_t { Light , Medium , Heavy , Long } |
| Type of haptic feedback to trigger via jngl::hapticFeedback. More... | |
Functions | |
| void | hapticFeedback (HapticFeedback type=HapticFeedback::Medium) |
| Triggers haptic feedback (a short vibration) | |
Functions to control haptic feedback (vibration)
Definition in file haptics.hpp.