XOutput icon indicating copy to clipboard operation
XOutput copied to clipboard

XOutput does not properly merge two joystick inputs into one.

Open hifihedgehog opened this issue 5 years ago • 0 comments

I noticed a bug that will need to be addressed with version 4. @csutorasa, when I attempt to put two axes together in the settings.json, I get output that is out-of-bounds or in the wrong location. It appears that the code is attempting to improperly add or mathematically combine the outputs rather than OR them together. (As a partial workaround, when I set MaxValue of each below to 0.5, the joysticks do not improperly add but then the sticks only reach halfway to the circumference.)

In these examples here, I use controller 2. I use the left joystick starting from the center resting point. I then move the stick gradually upward to the top middle. I then rotate the joystick two times clockwise and then return the joystick to the middle. I first show the virtual controller working with just controller 2 as input. I then show the virtual controller with both controller 1 and 2 as input. See also attached settings.json file.

settings.json.zip

https://user-images.githubusercontent.com/16614343/103672042-b7cffc00-4f49-11eb-800a-40dd9179cb54.mp4

hifihedgehog avatar Jan 05 '21 16:01 hifihedgehog