Add a transducer to receive sensor events from outside.

Change-Id: If30d8e43a217c34d2d28ed200cbf33b3f504b383