UE 5.0.3 Android Inputs (Soft Left and Soft Right)

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:

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?

hello Have you solved this problem?