Gamepads: technologies, PC support and Unity

Article languages: English and Russian
Contents

A photograph of a gamepad with compartments filled with pills.

#gamedev #unity Part 1

Suppose we are making a game for Steam. If it is a good game, it will probably get a console port later—or it is a Paradox game and it won’t.

What is distinctive about console gaming, and laid-back TV gaming in general? You sit in an armchair with a beer and a gamepad in front of a projector screen or a big TV. If you have never played with a gamepad, you should try it. All console gamepads connect to a PC just fine. But there are nuances.

The main gamepad technologies

🔹 Rumble (classic vibration / ERM): uses motors with rotating weights. One motor is heavy, for explosions; the other is light, for smaller effects.
Found in: almost all gamepads (Xbox 360, PS3, PS4, Xbox Series).
🔹 Haptic Feedback (LRA): uses voice coils and magnets. These can reproduce not just “shaking,” but textures: the sensation of sand, raindrops or a ticking clock.
Found in: Nintendo Switch (HD Rumble), PS5 (DualSense), Steam Controller and Apple laptop trackpads.
🔹 Force Feedback: the term is more often applied to steering wheels, where the wheel physically resists being turned. Its counterpart in gamepads is Adaptive Triggers.
🔹 Adaptive Triggers: a mechanism inside the L2/R2 buttons that changes their resistance to being pressed. It can simulate a jammed weapon, bowstring tension or a brake pedal.
Found in: exclusively the PS5 DualSense and DualSense Edge.
🔹 Impulse Triggers: separate vibration motors inside the LT/RT triggers. They do not change resistance, but send vibration directly into your finger when shooting or braking.
Found in: Xbox One, Xbox Series.
🔹 Gyroscope / Accelerometer: motion control. Lets you aim by tilting the gamepad (Gyro Aiming), which is much more precise than sticks.
Found in: PS3 (Sixaxis, in a rudimentary form), PS4, PS5 and Switch. Absent from Xbox gamepads; expected in the new one.
🔹 Touchpad: a touch-sensitive panel for cursor control or gestures.
Found in: PS4, PS5. Absent from Xbox gamepads; expected in the new one.
🔹 Hall Effect Joysticks: a technology that uses magnets instead of rubbing contacts. These sticks do not develop drift—break down—over time.
Found in: not in standard console gamepads, which all use potentiometers. Available in third-party gamepads (GameSir, 8BitDo, Gulikit).

PC support:

🔹 Xbox (One / Series)—native support through XInput, Steam Input
Vibration works everywhere.
Impulse Triggers work only in Microsoft Store games (Forza Horizon) and some Steam games, although rarely—for example, the newer Tomb Raider games.
There is no gyroscope, so aiming is stick-only.
🔹 PlayStation 5 (DualSense)—official support in modern games, Steam Input
Adaptive triggers and haptics work ONLY over a wired USB-C connection, and only in games that officially support them. The list is growing: CoD, Far Cry 6, Sony games, Metro Exodus.
Over Bluetooth, it behaves like an ordinary gamepad with basic vibration.
Gyroscope: can be configured in Steam to act as a mouse or fine-tune aim in shooters. This works in any game through Steam’s settings.
🔹 Nintendo Switch Pro Controller—through Steam Input; Windows sees it as a DirectInput device.
Gyroscope: the best of the bunch. Ideal for emulators (Cemu, Yuzu) and configuring aiming in Steam.
HD Rumble: works as ordinary emulated vibration on PC.
Triggers: digital buttons. In racing games such as Forza, throttle is either 0% or 100%. That makes it a poor choice for PC driving simulators.

Support can be added in Unity in three ways:
🔹 Input System—Unity’s new input system; the old one is being removed starting with version 6000.3.
🔹 Rewired—what Input System was copied from; it has its own advantages and disadvantages.
🔹 Steam Input—for games on Steam; essentially their equivalent as well.

Image viewer