diff options
author | wwylele <wwylele@gmail.com> | 2017-08-07 00:04:06 +0300 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-08-11 11:05:08 +0300 |
commit | 188194908c2785bd1e03485941b9148777cdddd7 (patch) | |
tree | ab6cd04195f5e18bd1e7dd21a7c2896066827a6f /src/core/frontend/input.h | |
parent | 867eabd6b7effc8ba6c21d7fcbd0480b14f81ad0 (diff) |
move MotionEmu from core/frontend to input_common as a InputDevice
Diffstat (limited to 'src/core/frontend/input.h')
-rw-r--r-- | src/core/frontend/input.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/frontend/input.h b/src/core/frontend/input.h index a8be49440..5916a901d 100644 --- a/src/core/frontend/input.h +++ b/src/core/frontend/input.h @@ -112,16 +112,15 @@ using AnalogDevice = InputDevice<std::tuple<float, float>>; * A motion device is an input device that returns a tuple of accelerometer state vector and * gyroscope state vector. * - * For accelerometer state vector: + * For both vectors: * x+ is the same direction as LEFT on D-pad. * y+ is normal to the touch screen, pointing outward. * z+ is the same direction as UP on D-pad. - * Units: measured in unit of gravitational acceleration + * + * For accelerometer state vector + * Units: g (gravitational acceleration) * * For gyroscope state vector: - * x+ is the same direction as LEFT on D-pad. - * y+ is normal to the touch screen, pointing outward. - * z+ is the same direction as UP on D-pad. * Orientation is determined by right-hand rule. * Units: deg/sec */ |