# Detect input device

**URL:** <https://forums.unrealengine.com/t/detect-input-device/414096>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 9, 2018, 12:36am UTC](https://forums.unrealengine.com/t/detect-input-device/414096 "2018-01-09T00:36:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![yourboypavs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yourboypavs](https://forums.unrealengine.com/u/yourboypavs)\
**Post date:** [May 26, 2024, 6:22pm UTC](https://forums.unrealengine.com/t/detect-input-device/414096/5 "2024-05-26T18:22:01Z")

</div>

In UE 5.3, using the Input Device Subsystem worked really well for me:

 ![ue5_input_device_id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/0/690aaa1eaef4bbcd1e303813dd70a8f6b5600642.png)

The Hardware Device Identifier comes back telling you the specific gamepad, if you want to switch between PlayStation and Xbox controller specific UI. For example, the keyboard and mouse returns “KBM” and an Xbox controller returns “XInputController”.

---

_[View the full topic](https://forums.unrealengine.com/t/detect-input-device/414096)._
