PreferredInput
This enum is used with UserInputService.PreferredInput to indicate the primary input type a player is likely using.
Items 4
| History | Name | Value | Description | |
|---|---|---|---|---|
| 675 | KeyboardAndMouse | 0 | The player has connected or most recently interacted with a keyboard or mouse. | |
| 675 | Gamepad | 1 | The player has connected or most recently interacted with a gamepad. | |
| 675 | Touch | 2 | The player's device has touch capability and no other input method is available or was recently interacted with. | |
| 731 | MicroGamepad | 3 | 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. |
Description
This enum is used with UserInputService.PreferredInput to indicate the primary input type a player is likely using.
History 5
- 731 Add MicroGamepad
- 675 Add Touch
- 675 Add KeyboardAndMouse
- 675 Add Gamepad
- 675 Add PreferredInput