Page 33 of 34

Re: UA:Source

Posted: Tue May 07, 2019 8:19 pm
by cedi4155476
Ok
I tried it out on the original UA and there I have no problems with the joystick.
I cant really test much, because it has a lot of graphical bugs, but the minimap works so I tested the speed out there and it was the same on keyboard and joystick. So I guess it really has to do something with the sdl or something like that.

Re: UA:Source

Posted: Mon May 13, 2019 5:04 am
by Zidane
cedi4155476 wrote:
Tue May 07, 2019 8:19 pm
Ok
I tried it out on the original UA and there I have no problems with the joystick.
I cant really test much, because it has a lot of graphical bugs, but the minimap works so I tested the speed out there and it was the same on keyboard and joystick. So I guess it really has to do something with the sdl or something like that.
Can you test what max/min values are for your joystick in this SDL2 test joystick program https://drive.google.com/open?id=1JLF46 ... 4pSBb1twto ?

Run it from cmd.exe, first run "sdl2-jstest -l" for joystick list and after "sdl2-jstest -t #joyindex".

Normally max/min axis values must be -32767/32767, if not - it's answer why you has a problem.

Re: UA:Source

Posted: Tue May 14, 2019 6:18 pm
by cedi4155476
this seems to work o.o

Re: UA:Source

Posted: Wed May 15, 2019 1:25 am
by Zidane
cedi4155476 wrote:
Tue May 14, 2019 6:18 pm
this seems to work o.o
Hmmmm. And if you try to copy SDL2 dll from Ua_source?

Re: UA:Source

Posted: Wed May 15, 2019 10:26 am
by cedi4155476
Also works fine.
I tested with helicopter now and it seems like, its only the ground unit.
I don't know how to test other units from the get go, but thats what I realised when comparing wasp and fox.

Re: UA:Source

Posted: Wed May 15, 2019 11:13 am
by Zidane
If it's only ground units, well I will try to find a bug in code.
Really I play mostly with fly units and may miss some with ground.

Re: UA:Source

Posted: Wed May 15, 2019 3:35 pm
by cedi4155476
Yeah it seems like its only the ground unit.
Tried some solo multiplayer maps and tested with aircraft and they seem to work normally.

Re: UA:Source

Posted: Wed Jun 05, 2019 8:30 pm
by CharlotteLabyrinth
Wow cedi4155476, thank you very much for making comprehensive reports about the joystick configuration issues! I've also experienced several problems with my joysticks on UA:Source before, but never made an extensive test or feedback. It's so great to see them finally getting addressed and recognised with sufficient details like this.

Re: UA:Source

Posted: Mon Jun 10, 2019 9:16 am
by Zidane
cedi4155476 wrote:
Wed May 15, 2019 10:26 am
Also works fine.
I tested with helicopter now and it seems like, its only the ground unit.
I don't know how to test other units from the get go, but thats what I realised when comparing wasp and fox.
Finally got to work on this bug and has found incorrect axis scaling. Values must be scaled to range -300/300 from -32768/32767. And I accidentally divided by 300 instead 109.
Thanks for found this bug.
Try this build with fix: https://drive.google.com/open?id=19Wnt4 ... BXc5RqwPw2

Re: UA:Source

Posted: Tue Jun 11, 2019 6:35 pm
by cedi4155476
Yes it works now, thank you.
Gotta play through it now, I'll let you know when I find another bug.