Unreal engine is a game engine, it should already have functions for handling controller input, you shouldn't try to port the plugin to it just use the built in input handling in ue to trigger animations in the model.
I have no idea how to do it but it shouldn't be too different than doing it in a game project and there are plenty of ue tutorials for this in the internet.