Android.Views.InputDevice.SourceStylus Field
The input source is a stylus pointing device.

Value: 16386

Syntax

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

See Also

InputDevice.SourceClassPointer

Remarks

The input source is a stylus pointing device.

Note that this bit merely indicates that an input device is capable of obtaining input from a stylus. To determine whether a given touch event was produced by a stylus, examine the tool type returned by MotionEvent.GetToolType(int) for each individual pointer.

A single touch event may multiple pointers with different tool types, such as an event that has one pointer with tool type MotionEvent.ToolTypeFinger and another pointer with tool type MotionEvent.ToolTypeStylus. So it is important to examine the tool type of each pointer, regardless of the source reported by MotionEvent.Source.

[Android Documentation]

Requirements

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