deviceorientation.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. {
  2. "title":"DeviceOrientation & DeviceMotion events",
  3. "description":"API for detecting orientation and motion events from the device running the browser.",
  4. "spec":"https://www.w3.org/TR/orientation-event/",
  5. "status":"cr",
  6. "links":[
  7. {
  8. "url":"https://www.html5rocks.com/en/tutorials/device/orientation/",
  9. "title":"HTML5 Rocks tutorial"
  10. },
  11. {
  12. "url":"https://raw.github.com/phiggins42/has.js/master/detect/features.js#native-orientation",
  13. "title":"has.js test"
  14. },
  15. {
  16. "url":"http://html5labs.interoperabilitybridges.com/prototypes/device-orientation-events/device-orientation-events/info",
  17. "title":"DeviceOrientation implementation prototype for IE10"
  18. },
  19. {
  20. "url":"https://audero.it/demo/device-orientation-api-demo.html",
  21. "title":"Demo"
  22. }
  23. ],
  24. "bugs":[
  25. {
  26. "description":"`DeviceOrientationEvent.beta` has values between -90 and 90 on mobile Safari and between 180 and -180 on Firefox.\r\n`DeviceOrientationEvent.gamma` has values between -180 and 180 on mobile Safari and between 90 and -90 on Firefox.\r\nSee [Firefox reference](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent)\r\nand [Safari reference](https://developer.apple.com/library/safari/documentation/SafariDOMAdditions/Reference/DeviceOrientationEventClassRef/DeviceOrientationEvent/DeviceOrientationEvent.html#//apple_ref/javascript/instp/DeviceOrientationEvent/beta)"
  27. },
  28. {
  29. "description":"Safari on iOS doesn't implement the spec correctly, because alpha is arbitrary instead of relative to true north. Safari instead offers webkitCompassHeading`, which has the opposite sign to alpha and is also relative to magnetic north instead of true north. (see [details](https://github.com/w3c/deviceorientation/issues/6))"
  30. }
  31. ],
  32. "categories":[
  33. "JS API"
  34. ],
  35. "stats":{
  36. "ie":{
  37. "5.5":"n",
  38. "6":"n",
  39. "7":"n",
  40. "8":"n",
  41. "9":"n",
  42. "10":"n",
  43. "11":"a #1"
  44. },
  45. "edge":{
  46. "12":"y",
  47. "13":"y",
  48. "14":"y",
  49. "15":"y",
  50. "16":"y",
  51. "17":"y",
  52. "18":"y",
  53. "79":"a",
  54. "80":"a",
  55. "81":"a",
  56. "83":"a",
  57. "84":"a",
  58. "85":"a",
  59. "86":"a",
  60. "87":"a",
  61. "88":"a",
  62. "89":"a",
  63. "90":"a",
  64. "91":"a",
  65. "92":"a",
  66. "93":"a",
  67. "94":"a",
  68. "95":"a",
  69. "96":"a",
  70. "97":"a",
  71. "98":"a",
  72. "99":"a",
  73. "100":"a",
  74. "101":"a",
  75. "102":"a",
  76. "103":"a",
  77. "104":"a",
  78. "105":"a",
  79. "106":"a",
  80. "107":"a",
  81. "108":"a",
  82. "109":"a",
  83. "110":"a",
  84. "111":"a",
  85. "112":"a",
  86. "113":"a",
  87. "114":"a",
  88. "115":"a",
  89. "116":"a",
  90. "117":"a",
  91. "118":"a",
  92. "119":"a",
  93. "120":"a"
  94. },
  95. "firefox":{
  96. "2":"n",
  97. "3":"n",
  98. "3.5":"n",
  99. "3.6":"p",
  100. "4":"p",
  101. "5":"p",
  102. "6":"a",
  103. "7":"a",
  104. "8":"a",
  105. "9":"a",
  106. "10":"a",
  107. "11":"a",
  108. "12":"a",
  109. "13":"a",
  110. "14":"a",
  111. "15":"a",
  112. "16":"a",
  113. "17":"a",
  114. "18":"a",
  115. "19":"a",
  116. "20":"a",
  117. "21":"a",
  118. "22":"a",
  119. "23":"a",
  120. "24":"a",
  121. "25":"a",
  122. "26":"a",
  123. "27":"a",
  124. "28":"a",
  125. "29":"a",
  126. "30":"a",
  127. "31":"a",
  128. "32":"a",
  129. "33":"a",
  130. "34":"a",
  131. "35":"a",
  132. "36":"a",
  133. "37":"a",
  134. "38":"a",
  135. "39":"a",
  136. "40":"a",
  137. "41":"a",
  138. "42":"a",
  139. "43":"a",
  140. "44":"a",
  141. "45":"a",
  142. "46":"a",
  143. "47":"a",
  144. "48":"a",
  145. "49":"a",
  146. "50":"a",
  147. "51":"a",
  148. "52":"a",
  149. "53":"a",
  150. "54":"a",
  151. "55":"a",
  152. "56":"a",
  153. "57":"a",
  154. "58":"a",
  155. "59":"a",
  156. "60":"a",
  157. "61":"a",
  158. "62":"a",
  159. "63":"a",
  160. "64":"a",
  161. "65":"a",
  162. "66":"a",
  163. "67":"a",
  164. "68":"a",
  165. "69":"a",
  166. "70":"a",
  167. "71":"a",
  168. "72":"a",
  169. "73":"a",
  170. "74":"a",
  171. "75":"a",
  172. "76":"a",
  173. "77":"a",
  174. "78":"a",
  175. "79":"a",
  176. "80":"a",
  177. "81":"a",
  178. "82":"a",
  179. "83":"a",
  180. "84":"a",
  181. "85":"a",
  182. "86":"a",
  183. "87":"a",
  184. "88":"a",
  185. "89":"a",
  186. "90":"a",
  187. "91":"a",
  188. "92":"a",
  189. "93":"a",
  190. "94":"a",
  191. "95":"a",
  192. "96":"a",
  193. "97":"a",
  194. "98":"a",
  195. "99":"a",
  196. "100":"a",
  197. "101":"a",
  198. "102":"a",
  199. "103":"a",
  200. "104":"a",
  201. "105":"a",
  202. "106":"a",
  203. "107":"a",
  204. "108":"a",
  205. "109":"a",
  206. "110":"a",
  207. "111":"a",
  208. "112":"a",
  209. "113":"a",
  210. "114":"a",
  211. "115":"a",
  212. "116":"a",
  213. "117":"a",
  214. "118":"a",
  215. "119":"a",
  216. "120":"a",
  217. "121":"a",
  218. "122":"a",
  219. "123":"a"
  220. },
  221. "chrome":{
  222. "4":"n",
  223. "5":"n",
  224. "6":"n",
  225. "7":"a",
  226. "8":"a",
  227. "9":"a",
  228. "10":"a",
  229. "11":"a",
  230. "12":"a",
  231. "13":"a",
  232. "14":"a",
  233. "15":"a",
  234. "16":"a",
  235. "17":"a",
  236. "18":"a",
  237. "19":"a",
  238. "20":"a",
  239. "21":"a",
  240. "22":"a",
  241. "23":"a",
  242. "24":"a",
  243. "25":"a",
  244. "26":"a",
  245. "27":"a",
  246. "28":"a",
  247. "29":"a",
  248. "30":"a",
  249. "31":"a",
  250. "32":"a",
  251. "33":"a",
  252. "34":"a",
  253. "35":"a",
  254. "36":"a",
  255. "37":"a",
  256. "38":"a",
  257. "39":"a",
  258. "40":"a",
  259. "41":"a",
  260. "42":"a",
  261. "43":"a",
  262. "44":"a",
  263. "45":"a",
  264. "46":"a",
  265. "47":"a",
  266. "48":"a",
  267. "49":"a",
  268. "50":"a",
  269. "51":"a",
  270. "52":"a",
  271. "53":"a",
  272. "54":"a",
  273. "55":"a",
  274. "56":"a",
  275. "57":"a",
  276. "58":"a",
  277. "59":"a",
  278. "60":"a",
  279. "61":"a",
  280. "62":"a",
  281. "63":"a",
  282. "64":"a",
  283. "65":"a",
  284. "66":"a",
  285. "67":"a",
  286. "68":"a",
  287. "69":"a",
  288. "70":"a",
  289. "71":"a",
  290. "72":"a",
  291. "73":"a",
  292. "74":"a",
  293. "75":"a",
  294. "76":"a",
  295. "77":"a",
  296. "78":"a",
  297. "79":"a",
  298. "80":"a",
  299. "81":"a",
  300. "83":"a",
  301. "84":"a",
  302. "85":"a",
  303. "86":"a",
  304. "87":"a",
  305. "88":"a",
  306. "89":"a",
  307. "90":"a",
  308. "91":"a",
  309. "92":"a",
  310. "93":"a",
  311. "94":"a",
  312. "95":"a",
  313. "96":"a",
  314. "97":"a",
  315. "98":"a",
  316. "99":"a",
  317. "100":"a",
  318. "101":"a",
  319. "102":"a",
  320. "103":"a",
  321. "104":"a",
  322. "105":"a",
  323. "106":"a",
  324. "107":"a",
  325. "108":"a",
  326. "109":"a",
  327. "110":"a",
  328. "111":"a",
  329. "112":"a",
  330. "113":"a",
  331. "114":"a",
  332. "115":"a",
  333. "116":"a",
  334. "117":"a",
  335. "118":"a",
  336. "119":"a",
  337. "120":"a",
  338. "121":"a",
  339. "122":"a",
  340. "123":"a"
  341. },
  342. "safari":{
  343. "3.1":"n",
  344. "3.2":"n",
  345. "4":"n",
  346. "5":"n",
  347. "5.1":"n",
  348. "6":"n",
  349. "6.1":"n",
  350. "7":"n",
  351. "7.1":"n",
  352. "8":"n",
  353. "9":"n",
  354. "9.1":"n",
  355. "10":"n",
  356. "10.1":"n",
  357. "11":"n",
  358. "11.1":"n",
  359. "12":"n",
  360. "12.1":"n",
  361. "13":"n",
  362. "13.1":"n",
  363. "14":"n",
  364. "14.1":"n",
  365. "15":"n",
  366. "15.1":"n",
  367. "15.2-15.3":"n",
  368. "15.4":"n",
  369. "15.5":"n",
  370. "15.6":"n",
  371. "16.0":"n",
  372. "16.1":"n",
  373. "16.2":"n",
  374. "16.3":"n",
  375. "16.4":"n",
  376. "16.5":"n",
  377. "16.6":"n",
  378. "17.0":"n",
  379. "17.1":"n",
  380. "17.2":"n",
  381. "TP":"n"
  382. },
  383. "opera":{
  384. "9":"n",
  385. "9.5-9.6":"n",
  386. "10.0-10.1":"n",
  387. "10.5":"n",
  388. "10.6":"n",
  389. "11":"n",
  390. "11.1":"n",
  391. "11.5":"n",
  392. "11.6":"n",
  393. "12":"n",
  394. "12.1":"n",
  395. "15":"a",
  396. "16":"a",
  397. "17":"a",
  398. "18":"a",
  399. "19":"a",
  400. "20":"a",
  401. "21":"a",
  402. "22":"a",
  403. "23":"a",
  404. "24":"a",
  405. "25":"a",
  406. "26":"a",
  407. "27":"a",
  408. "28":"a",
  409. "29":"a",
  410. "30":"a",
  411. "31":"a",
  412. "32":"a",
  413. "33":"a",
  414. "34":"a",
  415. "35":"a",
  416. "36":"a",
  417. "37":"a",
  418. "38":"a",
  419. "39":"a",
  420. "40":"a",
  421. "41":"a",
  422. "42":"a",
  423. "43":"a",
  424. "44":"a",
  425. "45":"a",
  426. "46":"a",
  427. "47":"a",
  428. "48":"a",
  429. "49":"a",
  430. "50":"a",
  431. "51":"a",
  432. "52":"a",
  433. "53":"a",
  434. "54":"a",
  435. "55":"a",
  436. "56":"a",
  437. "57":"a",
  438. "58":"a",
  439. "60":"a",
  440. "62":"a",
  441. "63":"a",
  442. "64":"a",
  443. "65":"a",
  444. "66":"a",
  445. "67":"a",
  446. "68":"a",
  447. "69":"a",
  448. "70":"a",
  449. "71":"a",
  450. "72":"a",
  451. "73":"a",
  452. "74":"a",
  453. "75":"a",
  454. "76":"a",
  455. "77":"a",
  456. "78":"a",
  457. "79":"a",
  458. "80":"a",
  459. "81":"a",
  460. "82":"a",
  461. "83":"a",
  462. "84":"a",
  463. "85":"a",
  464. "86":"a",
  465. "87":"a",
  466. "88":"a",
  467. "89":"a",
  468. "90":"a",
  469. "91":"a",
  470. "92":"a",
  471. "93":"a",
  472. "94":"a",
  473. "95":"a",
  474. "96":"a",
  475. "97":"a",
  476. "98":"a",
  477. "99":"a",
  478. "100":"a",
  479. "101":"a",
  480. "102":"a",
  481. "103":"a",
  482. "104":"a"
  483. },
  484. "ios_saf":{
  485. "3.2":"n",
  486. "4.0-4.1":"n",
  487. "4.2-4.3":"a",
  488. "5.0-5.1":"a",
  489. "6.0-6.1":"a",
  490. "7.0-7.1":"a",
  491. "8":"a",
  492. "8.1-8.4":"a",
  493. "9.0-9.2":"a",
  494. "9.3":"a",
  495. "10.0-10.2":"a",
  496. "10.3":"a",
  497. "11.0-11.2":"a",
  498. "11.3-11.4":"a",
  499. "12.0-12.1":"a",
  500. "12.2-12.5":"a",
  501. "13.0-13.1":"a",
  502. "13.2":"a",
  503. "13.3":"a",
  504. "13.4-13.7":"a",
  505. "14.0-14.4":"a",
  506. "14.5-14.8":"a",
  507. "15.0-15.1":"a",
  508. "15.2-15.3":"a",
  509. "15.4":"a",
  510. "15.5":"a",
  511. "15.6-15.7":"a",
  512. "16.0":"a",
  513. "16.1":"a",
  514. "16.2":"a",
  515. "16.3":"a",
  516. "16.4":"a",
  517. "16.5":"a",
  518. "16.6-16.7":"a",
  519. "17.0":"a",
  520. "17.1":"a",
  521. "17.2":"a"
  522. },
  523. "op_mini":{
  524. "all":"n"
  525. },
  526. "android":{
  527. "2.1":"n",
  528. "2.2":"n",
  529. "2.3":"n",
  530. "3":"a",
  531. "4":"a",
  532. "4.1":"a",
  533. "4.2-4.3":"a",
  534. "4.4":"a",
  535. "4.4.3-4.4.4":"a",
  536. "119":"a"
  537. },
  538. "bb":{
  539. "7":"n",
  540. "10":"a"
  541. },
  542. "op_mob":{
  543. "10":"n",
  544. "11":"n",
  545. "11.1":"n",
  546. "11.5":"n",
  547. "12":"y",
  548. "12.1":"y",
  549. "73":"a"
  550. },
  551. "and_chr":{
  552. "119":"a"
  553. },
  554. "and_ff":{
  555. "119":"a"
  556. },
  557. "ie_mob":{
  558. "10":"n",
  559. "11":"y"
  560. },
  561. "and_uc":{
  562. "15.5":"a"
  563. },
  564. "samsung":{
  565. "4":"a",
  566. "5.0-5.4":"a",
  567. "6.2-6.4":"a",
  568. "7.2-7.4":"a",
  569. "8.2":"a",
  570. "9.2":"a",
  571. "10.1":"a",
  572. "11.1-11.2":"a",
  573. "12.0":"a",
  574. "13.0":"a",
  575. "14.0":"a",
  576. "15.0":"a",
  577. "16.0":"a",
  578. "17.0":"a",
  579. "18.0":"a",
  580. "19.0":"a",
  581. "20":"a",
  582. "21":"a",
  583. "22":"a",
  584. "23":"a"
  585. },
  586. "and_qq":{
  587. "13.1":"a"
  588. },
  589. "baidu":{
  590. "13.18":"a"
  591. },
  592. "kaios":{
  593. "2.5":"a",
  594. "3.0-3.1":"a"
  595. }
  596. },
  597. "notes":"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](https://developer.mozilla.org/en/DOM/MozOrientation) event.",
  598. "notes_by_num":{
  599. "1":"`compassneedscalibration` supported in IE11 only for compatible devices with Windows 8.1+."
  600. },
  601. "usage_perc_y":0.05,
  602. "usage_perc_a":92.27,
  603. "ucprefix":false,
  604. "parent":"",
  605. "keywords":"ondeviceorientation,ondevicemotion",
  606. "chrome_id":"5874690627207168,5556931766779904",
  607. "shown":true
  608. }