|
PebbleOS v4.47.0
|
Macros | |
| #define | SIM_VIBE (&pbl_vibe_sim) |
| The simulated vibration motor. | |
Typedefs | |
| typedef void(* | pbl_vibe_sim_observer_t) (const struct pbl_vibe *vibe, int8_t strength, void *arg) |
| Strength change observer. | |
Functions | |
| void | pbl_vibe_sim_set_observer (const struct pbl_vibe *vibe, pbl_vibe_sim_observer_t observer, void *arg) |
| Set the observer called whenever the motor strength changes. | |
| int8_t | pbl_vibe_sim_get_strength (const struct pbl_vibe *vibe) |
| Get the motor strength. | |