Version of emscripten/emsdk:
4.0.18-git
Description:
When getting an EmscriptenDeviceMotionEvent the EMSCRIPTEN_DEVICE_MOTION_EVENT_SUPPORTS_ROTATION_RATE flag is unset in EmscriptenDeviceMotionEvent.supportedFields even though the rotationRateAlpha, rotationRateBeta and rotationRateGamma contains valid data.
Example code:
// After setting a device motion callback.
EmscriptenDeviceMotionEvent event;
emscripten_get_devicemotion_status(&event);
if (event.supportedFields & EMSCRIPTEN_DEVICE_MOTION_EVENT_SUPPORTS_ROTATION_RATE) {
// Never entered.
}