This page lists Input Device types and products that the Input System package supports, and the platforms they're supported on.
Download xInput Controller Tester - Test your xInput device with this simple and useful program, making sure your controller does not display any errors you might not know about. XInput is now available for game development. This is the new input standard for both the Xbox and Windows. The APIs are available through the DirectX SDK, and the driver is available through Windows Update. There are several advantages to using XInput over DirectInput: XInput is easier to use and requires less setup than DirectInput.
Generic
Support for the following Devices doesn't require specialized support of particular products.
Device | Windows | Mac | Linux | UWP | Android | iOS | Xbox(3) | PS4(3) | Switch(3) | WebGL |
---|---|---|---|---|---|---|---|---|---|---|
Mouse | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | No | Yes |
Keyboard | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | No | Yes |
Pen | Yes | No (1) | No | Yes | Yes | Yes | No | No | No | No |
Touchscreen | Yes | No | No | Yes | Yes | Yes | No | No | No | No |
Sensors | No | No | No | No | Yes | Yes | No | No | No | No |
Joystick (2) | Yes | Yes | Yes | Yes | Yes | No | No | No | No | Yes |
Notes:
- Tablet support for macOS is coming in Unity 2020.1.
- Joysticks are supported as generic HIDs (See Other gamepads, joysticks, and racing wheels below).
- Consoles are supported using separate packages. You need to install these packages in your Project to enable console support.
Xinput Driver For Mac Windows 10
Gamepads
Device | Windows | Mac | Linux | UWP | Android | iOS(6) | Xbox(7) | PS4(7) | Switch(7) | WebGL |
---|---|---|---|---|---|---|---|---|---|---|
Xbox 360 (4) | Yes | Yes (3) | Yes | Yes | No | No | Yes | No | No | Sometimes (2) |
Xbox One | Yes (1) | Yes (3) | Yes (1) | Yes | Yes (1) | Yes (6) | Yes | No | No | Sometimes (2) |
PS4 | Yes (5) | Yes (5) | Yes (5) | Yes (5) | Yes (5) | Yes (5, 6) | No | Yes | No | Sometimes (2) |
Switch | Yes | Yes | Yes | Yes | No | No | No | No | Yes | Sometimes (2) |
Notes:
- The trigger motors on the Xbox One controller are only supported on UWP and Xbox.
- WebGL support varies between browsers, Devices, and operating systems.
- XInput controllers on Mac currently require the installation of the Xbox Controller Driver for macOS. This driver only supports only USB connections, and doesn't support wireless dongles. However, the latest generation of Xbox One controllers natively support Bluetooth, and are natively supported on Macs as HIDs without any additional drivers when connected via Bluetooth.
- This includes any XInput-compatible Device.
- Unity doesn't support the gyro or accelerometer on PS4 controllers on platforms other than the PlayStation 4 console. Unity also doesn't support the DualShock 4 USB Wireless Adaptor.
- Unity supports Made for iOS (Mfi) certified controllers on iOS. Xbox One and PS4 controllers are only supported on iOS 13 or higher.
- Consoles are supported using separate packages. You need to install these packages in your Project to enable console support.
WebGL
The Input System supports the Standard Gamepad mapping as specified in the W3C Gamepad Specification. It also supports gamepads and joysticks that the browser surfaces without a mapping, but this support is generally limited to detecting the axes and buttons which are present, without any context as to what they mean. This means gamepads and joysticks are generally only useful when the user manually remaps them. The Input System reports these Devices as generic
Joysticks
.Support varies between browsers, Devices, and operating systems, and further differs for different browser versions, so it's not feasible to provide an up-to-date compatibility list. At the time of this publication (September 2019), Safari, Chrome, Edge, and Firefox all support the gamepad API, but only Chrome reliably maps common gamepads (Xbox and PlayStation controllers) to the W3C Standard Gamepad mapping, which allows the Input System to correctly identify and map controls.
Note: WebGL currently doesn't support rumble.
Other gamepads, joysticks, and racing wheels
Bluetooth Xinput Driver Error
The Input System supports any Device which implements the USB HID specification. However, for Devices which don't have specific layouts implemented in the Input System, the system can only surface the information available from the HID descriptor of the Device, which limits how precisely it can describe a control. These Devices often work best when allowing the user to manually remap the controls. If you need to support a specific Device, you can also add your own mapping for it. See documentation on HID for more information.
Redragon G807 Saturn Gamepad
Experience the console-style gaming on your PC. With a familiar console-like layout, easy-to-customize controls and extensive support for your favorite hits and classics, the Redragon G807 Saturn Gamepad might the only PC gamepad you'll ever need.
The controller installs and operates instantly out of the box with most modern PC titles. If you're looking to game with older PC titles that existed before current input standards, such as DirectInput, you can switch the joystick into the previous standard for use with older and PC-exclusive titles.
Features:
* Plug and Play, only for PC games supporting Xinput mode, PS3
* Supports hundreds of Games
* Dual Vibration Feedback
* Multi-mode: Xinput / DirectInput
* Ergonomic design
* 6 foot cable with USB connector
*Compatibility: Android, PlayStation, PS3, PS2, Windows 10, 8, 7, Vista, XP
* Supports hundreds of Games
* Dual Vibration Feedback
* Multi-mode: Xinput / DirectInput
* Ergonomic design
* 6 foot cable with USB connector
*Compatibility: Android, PlayStation, PS3, PS2, Windows 10, 8, 7, Vista, XP
Packing Content:
Gamepad x 1
Driver CD x 1
Manual x 1
Gamepad x 1
Driver CD x 1
Manual x 1
Switch Pro Controller Xinput Driver
Notes:
The Joystick does not support Xbox 360 / Xbox One / Mac OS / PS4
The vibration-feedback can only be used in PC games supporting Xinput
The Joystick does not support Xbox 360 / Xbox One / Mac OS / PS4
The vibration-feedback can only be used in PC games supporting Xinput