Input

Listen for input and get metadata about the event. If Independent Input Source is enabled then these events will not work

Reference the library

C#
using CI.WSANative.Input;

Initialise

Initialise must be called first - it need only ever be called once

C#
WSANativeInput.Initialise();

Listen for an input down event

C#
WSANativeInput.PointerPressed += (e) => { if (e.InputType == WSAInputType.Pen) { } });

Listen for an input up event

C#
WSANativeInput.PointerReleased += (e) => { if (e.InputType == WSAInputType.Pen) { } });