Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Analog broken in new revs
#1
Tested v0.7-313-g8833f6e and v0.7-316-gfc8674b - analog buttons or on my joystick isn't worked.
Reply
#2
Which platform?

-[Unknown]
Reply
#3
Same here, on windows 7 x64. The buttons and d-pad/hat work but not the joystick. And the keyboard has never worked while my controller is plugged in. It's a X-Box wireless controller.
Reply
#4
Yes , analog stick broken since git 309 .Unfornaturely , i'm not yet figured out the quick fix .It is quite lots of code change in that commit Smile
Reply
#5
Thanks guys. I think I know what the problem is, it's a bit complicated. I restructured the Windows port quite a bit to be able to run the gl ui in it Smile
Reply
#6
(03-30-2013, 05:38 PM)jacky400 Wrote: Yes , analog stick broken since git 309 .Unfornaturely , i'm not yet figured out the quick fix .It is quite lots of code change in that commit Smile

Hmm... iirc __CtrlSetAnalog() is called in the regular screen update loop on Android/etc. But XInput calls that from a thread, on Windows.

The problem would now be that Native is trashing XInput's analog values.

The quickest solution might be to ifdef out that check in Android, althuogh, it probably needs restructuring.

-[Unknown]
Reply
#7
Yeah, I'm gonna fix it properly.
Reply
#8
The same for me on android Sad
Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Reply


Forum Jump: