force code style
added compass and accel support