|
PebbleOS
|
#include <stdint.h>Macros | |
| #define | DEFAULT_VIBE_INTENSITY VibeIntensityHigh |
| Intensity used when the user has not chosen one. | |
Enumerations | |
| enum | VibeIntensity { VibeIntensityLow , VibeIntensityMedium , VibeIntensityHigh , VibeIntensityNum } |
| Vibration intensity. More... | |
Functions | |
| void | vibe_intensity_init (void) |
| Apply the intensity stored in the alert preferences. | |
| uint8_t | get_strength_for_intensity (VibeIntensity intensity) |
| Get the strength of an intensity. | |
| void | vibe_intensity_set (VibeIntensity intensity) |
| Set the default strength of all vibrations (not just notifications). | |
| VibeIntensity | vibe_intensity_get (void) |
| Get the intensity stored in the alert preferences. | |
| const char * | vibe_intensity_get_string_for_intensity (VibeIntensity intensity) |
| Get the display name of an intensity. | |
| VibeIntensity | vibe_intensity_cycle_next (VibeIntensity intensity) |
| Get the next intensity in the cycle, wrapping around. | |