Search Unity

Question Oculus Quest - Native Keyboard

Discussion in 'UGUI & TextMesh Pro' started by ibartha, Jan 26, 2021.

  1. ibartha

    ibartha

    Joined:
    Oct 6, 2012
    Posts:
    7
    Hi all,

    I am looking for solution to dismiss the oculus native keyboard when "GO" button is pressed.

    The native keyboard is presented when the user selects the input field.
    It works well, looks amazing but i get nothing when the "GO" button is pressed. The dismiss keyboard button work, would be nice if the GO button did the same as it is the most obvious CTA on the keyboard.

    I tried a few things w/o any luck:
    • Subscribed to TMPInputField onSubmit event -> does not fire when "GO" button is pressed
    • Tried to make a special case in TMP_InputField.OnUpdateSelected // ---
      if(m_ProcessingEvent.keyCode == KeyCode.Return) / Keycode is not return when the "GO" button is pressed

    Hope someone can help me sorting this out,
    Thanks!