Input Samples
These samples demonstrate how to use the WinAppSDK input APIs within the namespace Microsoft.UI.Input. This sample also demonstrates the working of various Keyboard events and Keyboard accelerators using WinUI.
Prerequisites
- See System requirements for Windows app development.
- Make sure that your development environment is set up correctly—see Install tools for developing apps for Windows 10 and Windows 11.
Building and running any of the samples
- Open the solution file (
.sln
) from the subfolder of your preferred sample in Visual Studio. - From Visual Studio, either Start Without Debugging (Ctrl+F5) or Start Debugging (F5).