added basic interfaces for sensor events