| description | Learn how to customize your WinUI for interaction with specific types of inputs including pen and speech. |
|---|---|
| title | Input and interactions |
| keywords | app inputs, customize WinUI application |
| label | Input and interactions |
| template | detail.hbs |
| ms.date | 09/24/2020 |
| ms.topic | article |
| ms.assetid | b771d452-c3ac-4d97-8482-eaf81bf34306 |
| ms.localizationpriority | medium |
WinUI apps automatically handle a wide variety of inputs and run on a variety of devices—there’s nothing extra you need to do to enable touch input, for example. But there are times when you might want to optimize your app for certain types of input or devices. For example, if you’re creating a painting app, you might want to customize the way you handle pen input.
The design and coding instructions in this section help you customize your WinUI app for specific types of inputs.
:::row::: :::column:::
Familiarize yourself with each input device type and its behaviors, capabilities, and limitations when paired with certain form factors.
:::column-end::: :::column:::Track a user's gaze based on the location and movement of their eyes and head.
:::column-end::: :::row-end::::::row::: :::column:::
Identify input devicesPointer
Pen and Windows Ink
Touch
Mouse
Keyboard
Gamepad and remote control
Touchpad
Surface Dial
Multiple inputs
Input injection
Custom text input
:::column-end::: :::column::: Drag and drop
Panning
Rotation
Selecting text and images
Targeting
Visual feedback
:::column-end::: :::column::: Speech
Cortana
:::column-end::: :::row-end:::