After spending a long time trying to get PS4 and PS5 controller support integrated. I have come to the conclusion that it is simply not something I will be able to add at this time. The lag and 2 step handoff of inputs appears to make games unplayable.
I have been working on adding direct support for PS4 and 5 controllers. I have a working PS5 support prototype. For PS4 controller support and immediate support for ps5 I suggest using DS4 windows https://github.com/Ryochan7/DS4Windows and launching it after the toolkit. I have had some success with controllers working well with this software.