# 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:** 4

<div class="post-metadata">

**Author:** ![Teyrham](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Teyrham](https://forums.unrealengine.com/u/Teyrham)\
**Post date:** [August 21, 2021, 5:43pm UTC](https://forums.unrealengine.com/t/detect-input-device/414096/4 "2021-08-21T17:43:33Z")

</div>

Since all of the answers for this question i found were trash here’s mine:

1. Use event “Any Key” to get a key pressed
2. Use “Is keyboard key” on it to check if it’s a keyboard key
3. Switch on the bool your functions to view the text or images.  
I’m using “get display name” straight from input settings so my mechanic is index dependant. Also used two branches in case i want more devices.

 ![346896-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/1/fd18361d8c4cf1a50c50cba1b62e5f0709d02e97.png)

---

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