# PreferredInput(ロブロックス 列挙型(Enum)) > This enum is used with UserInputService.PreferredInput to indicate the primary input type a player is likely using. - URL:https://roblox.minecraft-okinawa.com/reference/enums/PreferredInput/ - 公式:https://create.roblox.com/docs/reference/engine/enums/PreferredInput ## 選べる値 - Enum.PreferredInput.KeyboardAndMouse(0):The player has connected or most recently interacted with a keyboard or mouse. - Enum.PreferredInput.Gamepad(1):The player has connected or most recently interacted with a gamepad. - Enum.PreferredInput.Touch(2):The player's device has touch capability and no other input method is available or was recently interacted with. - Enum.PreferredInput.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. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)