Version: 2021.3
public static PlayerSettings.WSAInputSource inputSource ;

描述

The input source type for mouse, pen, and touch input events in a XAML app.

In the Editor, Unity displays this under Misc in UWP Player Settings.
Note: This option is only applicable to XAML applications that use the SwapChainPanel; XAML applications that use D3D only support the CoreWindow input source.