UMG Checkbox click with gamepad

I am trying to wire in our UMG ui so it can be used by gamepad and keyboard in addition to mouse.

I am having a problem with UMG checkboxes - they cannot be “clicked” with the gamepad at all. Focus will cycle through them correctly, but they cannto be clicked with the gamepad

In addition, they can only be selected by keyboard using [space] but not return.

Thanks for any help/advice

You need to do the following (although this may be fixed by now, this fix still works either way).

  1. Over-ride OnKeyUp in your Widget graph defaults.
  2. Add a GetKey node to see which button was pressed.
  3. Check KeyIsGamepadKey.
  4. Check if the key matches your menu button key on the pad.
  5. Get a reference to the clicked widget and check if it’s class == CheckBox.
  6. Cast to checkbox to get a reference to your widget as a checkbox.
  7. if CheckBox->isChecked == true you can SetCheckedState on the widget. And vice versa.
  8. Return the Handled node.