Skip to content

PreferredInput

Not yet Enum

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

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Items

Item Value Status Notes
KeyboardAndMouse 0 Not yet The player has connected or most recently interacted with a keyboard or mouse.
Gamepad 1 Not yet The player has connected or most recently interacted with a gamepad.
Touch 2 Not yet The player's device has touch capability and no other input method is available or was recently interacted with.
MicroGamepad 3 Not yet The player has connected or most recently interacted with a gamepad without a thumbstick (for example, a TV remote or another limited-input gamepad), and no standard gamepad is currently connected.

Roblox reference: PreferredInput