Add compass and accelerator devices.