rojo/.cursor/rules/roblox/reference/engine/enums/PreferredInput.yaml
2026-02-02 12:08:47 -06:00

36 lines
1.1 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: PreferredInput
type: enum
summary: |
This enum is used with `Class.UserInputService.PreferredInput` to indicate the
primary input type a player is likely using.
description: |
This enum is used with `Class.UserInputService.PreferredInput` to indicate the
primary input type a player is likely using.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: KeyboardAndMouse
summary: |
The player has connected or most recently interacted with a keyboard or
mouse.
value: 0
tags: []
deprecation_message: ''
- name: Gamepad
summary: |
The player has connected or most recently interacted with a gamepad.
value: 1
tags: []
deprecation_message: ''
- name: Touch
summary: |
The player's device has touch capability and no other input method is
available or was recently interacted with.
value: 2
tags: []
deprecation_message: ''