# Overriding default Navigation with Common UI and Enhanced Input

**URL:** <https://forums.unrealengine.com/t/overriding-default-navigation-with-common-ui-and-enhanced-input/1836281>\
**Category:** UI\
**Tags:** unreal-engine\
**Created:** [May 2, 2024, 10:34am UTC](https://forums.unrealengine.com/t/overriding-default-navigation-with-common-ui-and-enhanced-input/1836281 "2024-05-02T10:34:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlorre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dlorre](https://forums.unrealengine.com/u/dlorre)\
**Post date:** [May 2, 2024, 10:34am UTC](https://forums.unrealengine.com/t/overriding-default-navigation-with-common-ui-and-enhanced-input/1836281/1 "2024-05-02T10:34:08Z")

</div>

Hi there, I have made an UI for my game that consists of several independant panels. What I want for the UI on gamepad is this:

D-Pad left-right-up-down: change panel

Left stick: navigate through the UI elements of that panel

Right stick: browse elements inside a control (for example a list) or increase/decrease a value

It’s pretty straightforward I think but it seems that something won’t let me do that. I’ve had some success with keys such as F4 but for the D-Pad controls nothing works. When using the left and right sticks or D-Pad I get an inconsistent navigation instead.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![dlorre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dlorre](https://forums.unrealengine.com/u/dlorre)\
**Post date:** [May 2, 2024, 2:19pm UTC](https://forums.unrealengine.com/t/overriding-default-navigation-with-common-ui-and-enhanced-input/1836281/2 "2024-05-02T14:19:19Z")

</div>

It looks like I just need to override FNavigationConfig, not 100% clear to me yet but I could disable most stuff by using FNullNavigationConfig.

```auto
#include "Framework/Application/NavigationConfig.h"

AMyPlayerController::AMyPlayerController()
{
	FSlateApplication::Get().SetNavigationConfig(MakeShared<FNullNavigationConfig>());
}

```

The thing is that I still don’t get the gamepad events.

---

<div class="post-metadata">

**Author:** ![mattai](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mattai/32/731470_2.png) [@mattai](https://forums.unrealengine.com/u/mattai)\
**Post date:** [May 17, 2024, 9:57pm UTC](https://forums.unrealengine.com/t/overriding-default-navigation-with-common-ui-and-enhanced-input/1836281/3 "2024-05-17T21:57:07Z")

</div>

See my reply there: [Input is overridden by navigation input in Common UI. How to override? - #4 by mattai](https://forums.unrealengine.com/t/input-is-overridden-by-navigation-input-in-common-ui-how-to-override/950563/4)

You basically need to use a custom subclass to define the buttons you want to link to navigation and/or free the ones already allocated.

---

<div class="post-metadata">

**Author:** ![GaLaX264](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GaLaX264](https://forums.unrealengine.com/u/GaLaX264)\
**Post date:** [January 14, 2025, 3:50pm UTC](https://forums.unrealengine.com/t/overriding-default-navigation-with-common-ui-and-enhanced-input/1836281/4 "2025-01-14T15:50:34Z")

</div>

Hey can you please explain a bit more like how am I supposed to create a subclass and where to override these keys , I’m new to unreal and c++
