Jump to content

Recommended Posts

Posted (edited)

I have coded a program in C that takes input from a steering wheel and maps it to the keyboard. It is available on github for both Linux machines running X11 and Windows machines.

As I do not run windows I have not been able to test the program on there.

https://github.com/SparklesReal/CustomControllerToSimrail/releases/tag/v0.2.0-alpha

Make sure that GeneralSettings.txt is in the same folder as the program itself as this contains the binds for keyboard. You may change these however you want to work better with your current keybinds. The standard GeneralSettings.txt shipped with the program maps throttle down to - and throttle up to + but I have not been able to get it to work with numpad -/+. If you have any problem make sure that keybinds ingame match the keybinds in the settings file.
Plans for v0.2.0:

for the next version I am planning to add mapping from steering wheel buttons to the shunt regulator. I am also planning to add force feedback to make the wheel "snap" to the diffrent states like it does in game.

Edited by Sparkles
v0.2.0 release
  • Like 2
  • Haha 1
Posted

There is currently a bug where the program doesn't work on applications like simrail on windows. I'm working on a fix.

  • Like 2
  • 3 weeks later...
  • 2 months later...
Posted

Release of 0.2.0 adds ET22 and buttons for shunt up and shunt down. There are also now instructions for how to make it work on Windows in the readme.

  • 5 months later...
Posted (edited)

What am i doing wrong? Register set as in instruction, aplication captures movement of wheel but in game nothing happens.image.png.1411770c1b1d466af09c7023d0dabf48.pngimage.png.c6a4d29ad256751162a3ee492b7913a9.png

Edited by DriverPl
Posted
5 godzin temu, DriverPl napisał(a):

What am i doing wrong? Register set as in instruction, aplication captures movement of wheel but in game nothing happens.image.png.1411770c1b1d466af09c7023d0dabf48.pngimage.png.c6a4d29ad256751162a3ee492b7913a9.png

i have the same bug

Posted
21 hours ago, DriverPl said:

What am i doing wrong? Register set as in instruction, aplication captures movement of wheel but in game nothing happens.image.png.1411770c1b1d466af09c7023d0dabf48.pngimage.png.c6a4d29ad256751162a3ee492b7913a9.png

I now have windows dual boot on my laptop so I will try to fix it for windows this or next week

  • Like 1
Posted

@DriverPlchanging the GeneralSettings.txt for throttle up and throttle down to 107 and 109 seems to work for me, could you verify this? If not could you try to see if it writes anything in a text box when you rotate or press the button for shunt up/down? 

  • Like 1
Posted (edited)

When i set both values to 107 and 109 both rotating and button gives effect. But only in text boxes.

image.png.e09f2435d103ee019f43ecbdc28fadc3.png

Edited by DriverPl
Posted
15 minutes ago, DriverPl said:

When i set both values to 107 and 109 both rotating and button gives effect. But only in text boxes.

image.png.e09f2435d103ee019f43ecbdc28fadc3.png

Could you try mapping your throttle to the output the program gives.

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy