mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 11:05:40 +00:00
Corrected XML comments to reflect now removed JoystickAxis enumeration.
This commit is contained in:
parent
52699104f9
commit
56b51702c2
|
@ -52,14 +52,14 @@ namespace OpenTK.Input
|
||||||
private JoystickHatState hat3;
|
private JoystickHatState hat3;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value between -1.0 and 1.0 representing the current offset of the specified <see cref="JoystickAxis"/>.
|
/// Gets a value between -1.0 and 1.0 representing the current offset of the specified axis.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// A value between -1.0 and 1.0 representing offset of the specified <see cref="JoystickAxis"/>.
|
/// A value between -1.0 and 1.0 representing offset of the specified axis.
|
||||||
/// If the specified axis does not exist, then the return value is 0.0. Use <see cref="Joystick.GetCapabilities"/>
|
/// If the specified axis does not exist, then the return value is 0.0. Use <see cref="Joystick.GetCapabilities"/>
|
||||||
/// to query the number of available axes.
|
/// to query the number of available axes.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
/// <param name="axis">The <see cref="JoystickAxis"/> to query.</param>
|
/// <param name="axis">The axis to query.</param>
|
||||||
public float GetAxis(int axis)
|
public float GetAxis(int axis)
|
||||||
{
|
{
|
||||||
return GetAxisRaw(axis) * ConversionFactor;
|
return GetAxisRaw(axis) * ConversionFactor;
|
||||||
|
|
Loading…
Reference in a new issue