Add Device Sensors

Add device sensor data to a Meta Display Glasses webapp — IMU (accelerometer, gyroscope, orientation) via DeviceMotionEvent/DeviceOrientationEvent, and GPS location via navigator.geolocation. Use when the user wants motion tracking, compass, level tool, step counter, shake detection, head tracking, or location.

facebook 75195af 15.2 KB Updated

File contents

facebook/meta-wearables-webapp/tree/main/plugins/meta-wearables-webapp/skills/add-device-sensors commit 75195afdcc

Frequently asked questions

npx skillmds@latest add facebook/add-device-sensors