Sdílet prostřednictvím


InputDevice.SourceGamepad 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 game pad.

[Android.Runtime.Register("SOURCE_GAMEPAD")]
[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 SourceGamepad = 1025;
[<Android.Runtime.Register("SOURCE_GAMEPAD")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceGamepad : Android.Views.InputSourceType

Field Value

Value = 1025

Implements

Attributes

Remarks

The input source is a game pad. (It may also be a #SOURCE_JOYSTICK).

Java documentation for android.view.InputDevice.SOURCE_GAMEPAD.

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

See also