ETS2/ATS Local Radio
-
- Posts: 107
- Joined: 04 Jul 2014 16:10
- Location: İzmir, Turkey
Hi, will you add Middle-East add-on radio stations?
That question is answered here: https://github.com/Koenvh1/ets2-local-r ... port-map-x
Why do today what you can postpone until tomorrow?
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.
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.
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.
@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.
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?
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.
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.
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)
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?
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.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests