since english isn't my main language the way you worded it actually helped! Now the inputs are being read in wine control, but not by the game itself? do I need to point the game towards the controller?
So I don't quite remember if I was able to play wine games without issues, but mostly proton games on Steam, though I am able to play generally speaking some wine games on my native gamepad drive.
Now for method I mentioned (I apologize for the wording because I was very sleepy last night).
First of all, attached file is my xboxdrv config (renamed txt because it wouldn't accept otherwise), maybe it will work for you but probably not, because mine was a generic gamepad in the format of a DualShock, not an actual DS4 like yours. But here is where mapping happens, it also takes on the /dev/input/by-id depending on whatever is gonna show up for you.
Next I ran
sudo "xboxdrv --evdev /dev/input/event21 --config ./gamepad.cfg"
Which also depends on which dev/event your gamepad is gonna be, this is going to create another device which is the virtual XBox controller, so you should now have both devices as /dev/input/js
However, the first js0 now shouldn't be getting any input, as all input will be going to js1 instead as the virtual xboxdrv, according to the map you've done.
So the js* devices are what mapper for games and presumably for wine as well, if you could you would pick the second one on games, but most games don't have that option, so to avoid conflicts, this is the part now where you manually remove the first joystick device with
rm /dev/input/js0
this should be enough as the joystick device is a plug-and-play for the user runtime and have user ownership.
This is what I had to do everytime to get the gamepad running, if the config doesn't work for you, you can probably find a config if your gamepad is the original DS4 or some other famous brand, but if everything else fails, you can conjure your own. Also, if its bluetooth, it adds a whole nother layer of issues to deal with, so I recommend wired only.
After doing all that you should be able to test with your native or wine joystick thingies.
View attachment gamepad.txt