Page 26 of 27

Re: ETS2/ATS Local Radio

Posted: 11 Jul 2019 09:47
by keremguvercin
Hi, will you add Middle-East add-on radio stations?

Re: ETS2/ATS Local Radio

Posted: 12 Jul 2019 16:39
by Koen

Re: ETS2/ATS Local Radio

Posted: 26 Jul 2019 13:08
by zbysiek
Hey, i use xbox one s controller and when i bind anything from local radio to its buttons they only work when the "Ets2/ats local radio server window" is active. So i doesn't work when im in ets, is there any way to fix this? It works normally on keyboard.

Re: ETS2/ATS Local Radio

Posted: 26 Jul 2019 14:29
by Koen
@zbysiek Odd, I cannot test that myself, but it works fine with my G27 and Dualshock 4 (v2). Does reselecting the controller under the controller window fix things for you?

Re: ETS2/ATS Local Radio

Posted: 27 Jul 2019 20:39
by zbysiek
Nope, and it even works (while the app is focused) when there's no controller selected.

Re: ETS2/ATS Local Radio

Posted: 28 Jul 2019 15:50
by zbysiek
I connected another, very old, controller that i had laying around (Logitech Cordles Rumblepad 2) and it works flawlessly. I'm using the newest version of xbox one controller (1708 i think) if that changes anything, connected via wire.

Added in 5 minutes 2 seconds:
And i don't know if that matters, but the logitech controller name in your app matches the name in windows devices, while the xbox one controller does not.
https://i.imgur.com/TVHojFm.png
https://i.imgur.com/gAs4gZ9.png

Added in 6 minutes 9 seconds:
Regarding my pervious post, when the logitech controller is selected, the xbox one controller no longer works while the app is focused (and unfocused, ofc).
And there is "Error log.txt" if you want to look into nothing, i guess.

Re: ETS2/ATS Local Radio

Posted: 28 Jul 2019 16:57
by Koen
@zbysiek I think I found the answer. Local Radio uses DirectInput to get the input from your joystick.
Now, for some reason, Microsoft have decided to not allow Xbox One Controllers to be accessed via DirectInput when the application is not focused (or it is a bug, not sure).

Fixing this is not that simple, as I'd have to rewrite the entire joystick integration logic or have an entire separate branch of logic just for Xbox controllers (which I'd rather not).
I'm going to ponder how(/if) I'm going to fix that.

Re: ETS2/ATS Local Radio

Posted: 28 Jul 2019 18:11
by zbysiek
Take your time, and thanks alot dude. Btw my friend has xbox360 controller and it works fine, just so you know, only the xbox one is broken.

Added in 1 hour 5 minutes 40 seconds:
And for example GTA 5 does allow input from this controller while it's not in focus, weird.

Re: ETS2/ATS Local Radio

Posted: 28 Jul 2019 19:17
by Koen
I know that it is just the Xbox One controller - that's the silly part.
Microsoft can clearly make it work for background applications, and it does work using Raw Input and XInput, so I am really confused why they removed it from DirectInput.
So it should work if you find a program that uses XInput, and can map buttons to keyboard keys (which is a bit of a workaround unfortunately).
I cannot test it myself, as I don't own any Xbox controller (just a Dualshock 4), but one of those should work.

(An overview of DirectInput and XInput can be found here: https://en.wikipedia.org/wiki/DirectInp ... _vs_XInput)

Re: ETS2/ATS Local Radio

Posted: 02 Aug 2019 09:20
by Black82
Hello. I have a question: Does ETS2 Local Radio interfere with ETS2 graphic and performance? I ask this because I installed ETS2 Local Radio for 1.35 version, and to me it seems like game runs slower than usual (lower FPS). Info--> I run ETS2 with DirectX 9.