UserInputType

Overview

The UserInputType enum defines different kinds of user inputs that an application can handle. These types allow developers to categorize and process input types such as mouse interactions, keyboard usage, touch gestures, and game controller actions.

Items

Name
Value
Description

MouseButton1

0

The primary (left) mouse button.

MouseButton2

1

The secondary (right) mouse button.

MouseButton3

2

The middle mouse button or mouse wheel button.

MouseWheel

3

Indicates scrolling up or down using the mouse wheel.

MouseMovement

4

Refers to the movement of the mouse cursor.

Touch

7

Input from a touch screen, such as tapping, swiping, or multi-touch gestures.

Keyboard

8

Describes input from the keyboard, such as typing or pressing a key.

Focus

9

Currently not supported.

Accelerometer

10

Currently not supported.

Gyro

11

Currently not supported.

Gamepad1

12

Currently not supported.

Gamepad2

13

Currently not supported.

Gamepad3

14

Currently not supported.

Gamepad4

15

Currently not supported.

Gamepad5

16

Currently not supported.

Gamepad6

17

Currently not supported.

Gamepad7

18

Currently not supported.

Gamepad8

19

Currently not supported.

TextInput

20

Currently not supported.

InputMethod

21

Currently not supported.

None

22

See also

InputObject

Last updated