Freigeben über


InputDevice.SourceClassJoystick Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.

The input source is a joystick.

[Android.Runtime.Register("SOURCE_CLASS_JOYSTICK")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)]
public const Android.Views.InputSourceType SourceClassJoystick = 16;
[<Android.Runtime.Register("SOURCE_CLASS_JOYSTICK")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassJoystick : Android.Views.InputSourceType

Field Value

Value = 16

Implements

Attributes

Remarks

The input source is a joystick.

A MotionEvent should be interpreted as absolute joystick movements.

Use #getMotionRange to query the range of positions.

Java documentation for android.view.InputDevice.SOURCE_CLASS_JOYSTICK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to