31#include "dev/vib-sensor.h"
32#include "lib/simEnvChange.h"
34const struct simInterface vib_interface;
35const struct sensors_sensor vib_sensor;
50configure(
int type,
int c)
69 return simVibIsActive;
75doInterfaceActionsBeforeTick(
void)
78 if (simVibIsActive && simVibChanged) {
81 sensors_changed(&vib_sensor);
87doInterfaceActionsAfterTick(
void)
92SIM_INTERFACE(vib_interface,
93 doInterfaceActionsBeforeTick,
94 doInterfaceActionsAfterTick);
96SENSORS_SENSOR(vib_sensor, VIB_SENSOR,
97 value, configure, status);