# CommonUI: Switch CommonInputBaseControllerData at Runtime?

**URL:** <https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305>\
**Category:** UI\
**Tags:** unreal-engine\
**Created:** [July 10, 2024, 9:26pm UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305 "2024-07-10T21:26:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [July 10, 2024, 9:26pm UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/1 "2024-07-10T21:26:54Z")

</div>

Hi there…

I’m nearly done finishing my UI and now got stuck in a Problem… which i thought CommonUI takes care of…

I want my Players to be able to change the Theme of the Gamepad Icons…

Technically, CommonUI has the CommonInputBaseControllerData Assets… which you can add to an Array to the CommonInputSettings.

Right now, my Array looks like this:  
0: XBox\_Dark  
1: KeyboardMouse  
2: XBox\_Light  
3: PS\_Dark  
4: PS\_Light

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/8/ac81b02899436a54d5f0032837389686308e7ece.png)

The InputActionWidgets, the ActionBar and all that stuff is working well.  
But… it always uses the XBox theme for the Gamepad, simply cause the GamepadInputType for all Themes is “Generic” only… no additional Names available… And it takes the first theme corresponding of the Input Device, from the Array.

So… how can i set any other of the Gamepad Themes to be the current used one?  
(BP and/or C++)

To be clear: I’m not using any Platform SDK (Playstation, Switch, XBox)… i just want to have Gamepad-Icon-Themes.

So there has to be a way to add new Gamepad Names… or else this whole Array is pretty useless

---

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [July 15, 2024, 5:07pm UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/2 "2024-07-15T17:07:27Z")

</div>

bumping this up - Still couldn’t find a solution…

---

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [July 24, 2024, 10:04pm UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/3 "2024-07-24T22:04:59Z")

</div>

bump again…

---

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [July 26, 2024, 12:45pm UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/4 "2024-07-26T12:45:40Z")

</div>

Ok Guys… For over 2 Weeks i got no response…

But a really nice Guy from the Unreal Source Discord (@sp1r1t\_d1tch, you are my Hero!!!) gave me the Solution.

Edit:  
I made a tutorial covering all the processes and codes:  
[https://dev.epicgames.com/community/learning/tutorials/KPOD/unreal-engine-commonui-switch-commoninputbasecontrollerdata-at-runtime](https://dev.epicgames.com/community/learning/tutorials/KPOD/unreal-engine-commonui-switch-commoninputbasecontrollerdata-at-runtime)

---

<div class="post-metadata">

**Author:** ![thorcxcx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thorcxcx](https://forums.unrealengine.com/u/thorcxcx)\
**Post date:** [September 12, 2024, 9:43am UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/5 "2024-09-12T09:43:21Z")

</div>

Thanks, bro, it’s really helpful.

---

<div class="post-metadata">

**Author:** ![Online\_Learner\_1jcia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Online\_Learner\_1jcia](https://forums.unrealengine.com/u/Online_Learner_1jcia)\
**Post date:** [January 17, 2025, 10:35am UTC](https://forums.unrealengine.com/t/commonui-switch-commoninputbasecontrollerdata-at-runtime/1933305/6 "2025-01-17T10:35:48Z")

</div>

> [@BDC\_Patrick](#):
>
> st want to have Gamepad-Icon-Themes.

In addition to switching themes, have you implemented switching the gamepad controller, such as changing from the default gamepad to a PS gamepad? I would like to know, thank you!
