ETS2/ATS Local Radio

Other mods that don't fit in any other category
keremguvercin
Posts: 65
Joined: 04 Jul 2014 16:10
Location: İstanbul, Turkey

11 Jul 2019 09:47

Hi, will you add Middle-East add-on radio stations?

User avatar
Koen
Posts: 128
Joined: 01 Aug 2013 18:53

12 Jul 2019 16:39

Why do today what you can postpone until tomorrow?

zbysiek
Posts: 12
Joined: 03 Jul 2019 12:48

26 Jul 2019 13:08

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.

User avatar
Koen
Posts: 128
Joined: 01 Aug 2013 18:53

26 Jul 2019 14:29

@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?
Why do today what you can postpone until tomorrow?

zbysiek
Posts: 12
Joined: 03 Jul 2019 12:48

27 Jul 2019 20:39

Nope, and it even works (while the app is focused) when there's no controller selected.

zbysiek
Posts: 12
Joined: 03 Jul 2019 12:48

28 Jul 2019 15:50

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.

User avatar
Koen
Posts: 128
Joined: 01 Aug 2013 18:53

28 Jul 2019 16:57

@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.
Why do today what you can postpone until tomorrow?

zbysiek
Posts: 12
Joined: 03 Jul 2019 12:48

28 Jul 2019 18:11

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.

User avatar
Koen
Posts: 128
Joined: 01 Aug 2013 18:53

28 Jul 2019 19:17

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)
Why do today what you can postpone until tomorrow?

Black82
Posts: 13
Joined: 06 Jan 2016 17:21
Donation rank:

02 Aug 2019 09:20

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.



Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests