main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
518 bytes
|
Rev | Line | |
---|
[d565449] | 1 | export interface MotionSensorState {
|
---|
| 2 | acceleration: {
|
---|
| 3 | x: number | null;
|
---|
| 4 | y: number | null;
|
---|
| 5 | z: number | null;
|
---|
| 6 | };
|
---|
| 7 | accelerationIncludingGravity: {
|
---|
| 8 | x: number | null;
|
---|
| 9 | y: number | null;
|
---|
| 10 | z: number | null;
|
---|
| 11 | };
|
---|
| 12 | rotationRate: {
|
---|
| 13 | alpha: number | null;
|
---|
| 14 | beta: number | null;
|
---|
| 15 | gamma: number | null;
|
---|
| 16 | };
|
---|
| 17 | interval: number | null;
|
---|
| 18 | }
|
---|
| 19 | declare const useMotion: (initialState?: MotionSensorState) => MotionSensorState;
|
---|
| 20 | export default useMotion;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.