# Consistent UMG navigation with mouse, keyboard, or gamepad?

**URL:** <https://forums.unrealengine.com/t/consistent-umg-navigation-with-mouse-keyboard-or-gamepad/516735>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-27, question, UMG\
**Created:** [April 6, 2022, 5:58pm UTC](https://forums.unrealengine.com/t/consistent-umg-navigation-with-mouse-keyboard-or-gamepad/516735 "2022-04-06T17:58:18Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 20, 2022, 12:17pm UTC](https://forums.unrealengine.com/t/consistent-umg-navigation-with-mouse-keyboard-or-gamepad/516735/30 "2022-04-20T12:17:08Z")

</div>

> [@Everynone](#):
>
> > do you have any form of input method detection to change button icons in your custom ui?
> 
> That should be happening in the onFocusReceived.

I have suggested using an Input Processor (“FSlateApplication::RegisterInputPreProcessor”) in the related post. Because if you want to update the entire UI and not just the focused widget, you need this.

> [@Arrow keys don't trigger any key event when input mode is set to game + ui (or just ui)](https://forums.unrealengine.com/t/arrow-keys-dont-trigger-any-key-event-when-input-mode-is-set-to-game-ui-or-just-ui/525736/12):
>
> Not impossible, you can still detect the input device through an input processor and work from there.

---

_[View the full topic](https://forums.unrealengine.com/t/consistent-umg-navigation-with-mouse-keyboard-or-gamepad/516735)._
