How to Remap any Controller to Keyboard Keys on Windows and MacOS
Use this Grim Dawn Gamepad layout with your Xbox Controller. The best solution is here - Grim Dawn Controller keybinding… | Xbox one controller, Xbox, Used xbox one
Determine keyboard or gamepad in C++ - UE4 AnswerHub