PreferredInput

This enum is used with UserInputService.PreferredInput to indicate the primary input type a player is likely using.

Items

NameValueSummary
KeyboardAndMouse0

The player has connected or most recently interacted with a keyboard or mouse.

Gamepad1

The player has connected or most recently interacted with a gamepad.

Touch2

The player's device has touch capability and no other input method is available or connected.

On this page