Ryochan7 / DS4MapperTest

GNU General Public License v3.0
8 stars 2 forks source link

Project EOL sometime soon. No definite date #28

Open Ryochan7 opened 10 months ago

Ryochan7 commented 10 months ago

There is pretty much no path forward for this project. I am ending my support for several of my current projects including this one. There will be one small patch release put out there before I decide to close this repository. There is no timetable for when I plan to close this repo other than soon.

Trihy commented 9 months ago

Hi ryo, sorry to post here, I found a problem with ds4windows.

Using this proile, buttons get mirrored on my second dualsense. Every macro gets replied on the second controller, just tapping buttons on controller 1, get ghost mirror tapping on controller 2, Even if the second controller is using a total different profile.

I hold ie. X button for macro on that button on controller 1 and macro gets executed on controller 1 and 2.

Only happens with macro assigned buttons. The others dont get mirrored.

<?xml version="1.0" encoding="utf-8"?>

True 300 True 17,0,0 100 0 DS4Win False 0 0 30 0,0,0 0,0,0 0,0,0 True False 80 True 2 0 0 0 False 0 0 100 100 100 100 25 0.008 0 100 3 3 2 2 100 100 100 100 100 100 False False Radial Radial 10 10 100 100 20 20 100 100 10 10 100 100 20 20 100 100 0 0 0 0 75 75 False False False 4 0.2 0.01 0.2 1 False 4 0.2 0.01 0.2 1 0.25 0.25 100 100 0 0 1|1|1|1|1|1 0 False 100 False False Mouse -1 and None 360 0 False 0.1 0.1 -1 100 100 0 True -1 and True False False none 50 1 0.7 0 10 1 False Controls -1 and True 0 30 830 RightStick XY 0.4 0.4 0 False 100 False 100 False none 50 0.4 0.7 80 80 -1 and True Yaw 0 Disconnect Controller 4 linear linear False False 5 5 False False 135 135 50 50 Controls Controls 5.3 0.9 0.1 0 5.3 0.9 0.1 0 linear Disabled Disabled 100 100 None None linear linear linear False 10 0 1 90 90 False 0 8 RightStick XY 0.4 0.4 0 100 False 100 Linear 0 None 0.8 0.7 1 1 0.5 0.5 0 True Click Accurate False 0 X360 272/320/272/320 273/320/273/320 263/320/263/320 264/320/264/320 262/320/262/320 261/320/261/320 HoldMacro HoldMacro HoldMacro HoldMacro HoldMacro HoldMacro

Feel free to delete it if doesnt belong here.

Ryochan7 commented 9 months ago

Thinking back on it, I believe that is a problem with the macro system itself in DS4Windows. I would have to confirm but I believe the Mapping class only uses one static array to represent any macro output button changes (macroControl); looked at Mapping.cs and that is the case. Therefore, any controller output will apply across all emulated output controllers. Most of the time it would not be a problem as only one controller would be in use.

In theory, it would likely be possible to group the macro data and create multiple instances so that each controller can function differently. I have always considered the macro system in maintenance mode so I barely touched it; I never used the system in any profile I made for a game. It is going to be up to someone else to fix that problem.

This project has no macro system in place and it will likely stay that way. I am trying to wrap up some tasks on various projects before closing them for good as well.

Trihy commented 9 months ago

Thanks for all that info. I thought it was just a simple bug. Seems like a design limitation. Not sure if there is other way to mimick turbo buttons.

Good luck with your new projects!

Ryochan7 commented 9 months ago

I feel like I am close to just ending this project as well.

Dont-Know-Nothing commented 9 months ago

Sad to hear but... everything good has to end right?. On the positive side, is pretty much usable in this state (at least for me). Again, thanks for this project, your effort and your time put in this. Maybe some day I could learn WPF + MVVM and try to start where you left? :)

Thanks!