# UE 5.0.3 Android Inputs (Soft Left and Soft Right)

**URL:** <https://forums.unrealengine.com/t/ue-5-0-3-android-inputs-soft-left-and-soft-right/1718436>\
**Category:** Mobile\
**Tags:** Input, android-device, unreal-engine, question, OpenXR\
**Created:** [February 28, 2024, 3:04pm UTC](https://forums.unrealengine.com/t/ue-5-0-3-android-inputs-soft-left-and-soft-right/1718436 "2024-02-28T15:04:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChevalierLynx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chevalierlynx/32/908604_2.png) [@ChevalierLynx](https://forums.unrealengine.com/u/ChevalierLynx)\
**Post date:** [February 28, 2024, 3:04pm UTC](https://forums.unrealengine.com/t/ue-5-0-3-android-inputs-soft-left-and-soft-right/1718436/1 "2024-02-28T15:04:10Z")

</div>

Hi, I’m new to the Unreal Engine, and I have a question about inputs. I’m trying to capture events related to an android xr headset’s hardware buttons.

Android has the following KeyKodes:

- KEYCODE\_SOFT\_LEFT = 1
- KEYCODE\_SOFT\_RIGHT = 2
- KEYCODE\_HOME = 3
- KEYCODE\_BACK = 4
- KEYCODE\_VOLUME\_UP = 24
- KEYCODE\_VOLUME\_DOWN = 25

I noticed in the Unreal Engine logs that the keys (Soft Left and Soft Right) were detected:

```auto
4155 1494 D UE : Received keycode: 2, softkey: 0
4155 1494 D UE : Received key event: 2

```

However, I can’t find the corresponding keys in the Key Mappings, there only seem to be:

- Android Back
- Android Volume Up
- Android Volume Down
- Android Menu

Is there a way to declare a new Key Mappings to this list?

---

<div class="post-metadata">

**Author:** ![CCpzzp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CCpzzp](https://forums.unrealengine.com/u/CCpzzp)\
**Post date:** [April 12, 2024, 2:49pm UTC](https://forums.unrealengine.com/t/ue-5-0-3-android-inputs-soft-left-and-soft-right/1718436/2 "2024-04-12T14:49:42Z")

</div>

hello Have you solved this problem?
