Use gamepad if menu opens
In PlayerBase BP
Add variable
In input action menu end node Open/Close Menu, extend the graph by branch
Set User Focus is to lock the focus on the keyboard control
Go to Player 2 BP
tick using Gamepad
Go to Inventory Icon widget
Untick is focusable on both Invenotry UI layer and Item Button layers:
In Player HUD W, add the follow node in Event construct:
Go to Project setting
Set Render focus rule as Always
Add actionmapping for gamepad:
Go to PlayerBase BP,
add variable
Add follow after branch true
Use mouse and keyboard for inventory menu control:
In Player Base BP
Add 2 functions:
Go to Jump Input in event graph:
Modify gamepad on inventory menu in Pt9 (to set clamp to restrict the controller go beyond the inventory size menu):
In Player BP, menu nav left/right nodes
Set up and down navigation too:
Duplciate nodes form left and right, except modify beginning selected item index node