Sync SDL3 wiki -> header
parent
db6b6bd75e
commit
bf0bf80df6
|
@ -105,16 +105,17 @@ typedef Uint32 SDL_SensorID;
|
||||||
* Gyroscope sensor notes:
|
* Gyroscope sensor notes:
|
||||||
*
|
*
|
||||||
* The gyroscope returns the current rate of rotation in radians per second.
|
* The gyroscope returns the current rate of rotation in radians per second.
|
||||||
* The rotation is positive in the counter-clockwise direction. That is,
|
* The rotation is positive in the counter-clockwise direction. That is, an
|
||||||
* an observer looking from a positive location on one of the axes would
|
* observer looking from a positive location on one of the axes would see
|
||||||
* see positive rotation on that axis when it appeared to be rotating
|
* positive rotation on that axis when it appeared to be rotating
|
||||||
* counter-clockwise.
|
* counter-clockwise.
|
||||||
*
|
*
|
||||||
* - `values[0]`: Angular speed around the x axis (pitch)
|
* - `values[0]`: Angular speed around the x axis (pitch)
|
||||||
* - `values[1]`: Angular speed around the y axis (yaw)
|
* - `values[1]`: Angular speed around the y axis (yaw)
|
||||||
* - `values[2]`: Angular speed around the z axis (roll)
|
* - `values[2]`: Angular speed around the z axis (roll)
|
||||||
*
|
*
|
||||||
* For phones and tablets held in natural orientation and game controllers held in front of you, the axes are defined as follows:
|
* For phones and tablets held in natural orientation and game controllers
|
||||||
|
* held in front of you, the axes are defined as follows:
|
||||||
*
|
*
|
||||||
* - -X ... +X : left ... right
|
* - -X ... +X : left ... right
|
||||||
* - -Y ... +Y : bottom ... top
|
* - -Y ... +Y : bottom ... top
|
||||||
|
|
Loading…
Reference in New Issue