DeviceOrientation & DeviceMotion events

- CR

API for detecting orientation and motion events from the device running the browser.

IE

  1. 5.5 - 10: Not supported
  2. 11: Partial support

Edge

  1. 12 - 18: Supported
  2. 79: Partial support
  3. 80: Partial support

Firefox

  1. 2 - 3.5: Not supported
  2. 3.6 - 5: Not supported (but has polyfill available)
  3. 6 - 73: Partial support
  4. 74: Partial support
  5. 75 - 76: Partial support

Chrome

  1. 4 - 6: Not supported
  2. 7 - 79: Partial support
  3. 80: Partial support
  4. 81 - 83: Partial support

Safari

  1. 3.1 - 12.1: Not supported
  2. 13: Not supported
  3. 13.1 - TP: Not supported

Opera

  1. 9 - 12.1: Not supported
  2. 15 - 65: Partial support
  3. 66: Partial support

iOS Safari

  1. 3.2 - 4.1: Not supported
  2. 4.2 - 13.2: Partial support
  3. 13.3: Partial support
  4. 13.4: Partial support

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 2.3: Not supported
  2. 3 - 4.4.4: Partial support
  3. 80: Partial support

Blackberry Browser

  1. 7: Not supported
  2. 10: Partial support

Opera Mobile

  1. 10 - 11.5: Not supported
  2. 12 - 12.1: Supported
  3. 46: Partial support

Chrome for Android

  1. 80: Partial support

Firefox for Android

  1. 68: Partial support

IE Mobile

  1. 10: Not supported
  2. 11: Supported

UC Browser for Android

  1. 12.12: Partial support

Samsung Internet

  1. 4 - 10.1: Partial support
  2. 11.1: Partial support

QQ Browser

  1. 1.2: Partial support

Baidu Browser

  1. 7.12: Partial support

KaiOS Browser

  1. 2.5: Partial support

Partial support refers to the lack of compassneedscalibration event. Partial support also refers to the lack of devicemotion event support for Chrome 30- and Opera. Opera Mobile 14 lost the ondevicemotion event support. Firefox 3.6, 4 and 5 support the non-standard MozOrientation event.

Resources:
Demo
DeviceOrientation implementation prototype for IE10
has.js test
HTML5 Rocks tutorial