Android.Views.InputDevice.SourceClassButton Field
The input source has buttons or keys.

Value: 1

Syntax

[Android.Runtime.Register("SOURCE_CLASS_BUTTON")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.")]
public const InputSourceType SourceClassButton

Remarks

The input source has buttons or keys. Examples: InputDevice.SourceKeyboard, InputDevice.SourceDpad. A Android.Views.KeyEvent should be interpreted as a button or key press. Use InputDevice.KeyCharacterMap to query the device's button and key mappings.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9