Modification of a drag and drop operation in C++ header file to grant access to Gamepad in blueprints

So I’m trying to use the Gamepad inside of this User Interface and it seems that the function is not possible in Blueprints. If anyone can help I would really appreciate it. Thank you