Jump to content

SimRail Controller hardware we've built.


Recommended Posts

On 12/27/2023 at 1:52 PM, Pitek said:

So here is also my controller (EU07 etc.) and I'm still waiting for data output. 

vlcsnap-2023-11-08-15h48m14s446.png

 

 

very jealous, 

I wish i could find someone selling the driving desk parts from an EU07 style loco,  got a couple of grand for the right bits,  just finding someone who could sell to me that's proving impossible (me being in the uk dosen't help, might have to take a road trip to Poland with the trailer on the car. 

 

Link to comment
Share on other sites

Currently in the process of making some controls inspired by the traxx. I'm making 2 modules for now, one for the left hand (throttle) and one right hand(brakeside).
I'm trying to limit my functions to 1 usb joystick card per side. (using 12 buttons and an arcade joystick )

Been using joytokey to give key commands, and worked flawless before(before the last big update). When I use it now, it gives commands I don't have control over, can it be the gamepad support messing it up? is there a way to deactivate gamepad?

Waiting on the case to get done printing and continue design of the right hand side if it works out as intended.
Also have bigger module in progress, with housing for saitek throttles with notchplates etc, but on hold until native joystick support is here.


20231231_224813.thumb.jpg.358740c716a63a854454dbe5b9f749e9.jpg20231231_225122.thumb.jpg.6798951105e98edae1780869a83e7321.jpg

 

  • Like 1
Link to comment
Share on other sites

the new 'input' system with new control animations seems to have made the controls 'sluggish' to those of use using controllers it seems.

I really notice this when i use a rotary encoder to turn the EU07's wheel,  the encoder sends out 1 keypress for every click it's moved, and before the update i could spin the encoders knob as fast as i could, and the wheel in the sim would match the speed i was rotating the knob.. i could move from notch 43 to 0 faster than the fast move button combo did.

but since the update, if i rotate the knob too fast the wheel in the sim misses a lot of steps it should have moved,
on my arduino boards i've added a 70 millisecond delay between repeated keypresses so the controls do not miss steps., 

 

Not sure if this is the case with your controllers, 

I only have a button box using JoyToKey, and haven't noticed any difference in how that is working, 

I don't think the gamepad thing can be disabled, but i do know there is a 'gamepad switch sensitivity' slider in the control menu, i expect this adjusts how much the analog controls on the gamepad have to move to activate a switch,  but i could be wrong. 

  • I agree 1
Link to comment
Share on other sites

I'm not sure, but I feel the throttle on the traxx is also more fiddly to change positions also(from throttle to 0 to braking.

I'll test some more when the box is complete.

Here is what simrail reads the buttons:
button 2 stand up/sit down

button 3 acknownledge/deadman

button 4 panto up

button 5/6 zoom in and out

button 10 is menu.

It's not joytokey ruining it, as no keyboard keys are sent when pushing buttons, so seems to me its something in simrail.

Tested in the "other" sim and I have similar issues there, so I think the sim engine mistakes my generic usb joystick for a xbox/ps controller?

So my request to simrail team is a possibility to disable game controller.

 

EDIT:
My issues was releated to Steam settings. Steam was set to emulate xbox controller, turned it off and voila, my device behaved as intended!
It only became a problem once simrail added game controller support 🙂 

 

Edited by Deadlost
  • I agree 1
Link to comment
Share on other sites

 

Ideal would be support from the creators if a communication protocol via IP Address, Port com.

Where for example Simrail would send a message at a configurable interval from speed, pressure, voltage, amps etc.

And vice versa I could send him a message via arduino for example.

For example to change direction I would send a command:  Directions0, Directions1,Directions2
Directions0 - Backwars
Directions1 - Neutral
Directions2 - Fowards

But even better would be if I could set in simrail via a configuration file for example. That the Directions element is the letter A

and then only send the message A0, A1, A2

I use a similar system with Open Rails and TS22

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Our servers

    • Drivers | Maszyniści Drivers | Maszyniści
      • PL2
      • pl2
      • 77 / 82
          • Percentage filling 94%
          • Most players 93
      • PL3
      • pl3
      • 14 / 82
          • Percentage filling 17%
          • Most players 76
      • PL4
      • pl4
      • 44 / 94
          • Percentage filling 47%
          • Most players 84
      • PL8
      • pl8
      • 15 / 79
          • Percentage filling 19%
          • Most players 84
      • EN1
      • en1
      • 67 / 85
          • Percentage filling 79%
          • Most players 81
      • EN2
      • en2
      • 3 / 74
          • Percentage filling 4%
          • Most players 60
      • EN3
      • en3
      • 6 / 80
          • Percentage filling 8%
          • Most players 60
      • DE1
      • de1
      • 70 / 81
          • Percentage filling 86%
          • Most players 87
      • DE3
      • de3
      • 0 / 83
          • Percentage filling 0%
          • Most players 67
      • DE4
      • de4
      • 4 / 79
          • Percentage filling 5%
          • Most players 65
      • FR1
      • fr1
      • 16 / 82
          • Percentage filling 20%
          • Most players 49
      • UA1
      • ua1
      • 5 / 79
          • Percentage filling 6%
          • Most players 27
      • CN1
      • cn1
      • 0 / 34
          • Percentage filling 0%
          • Most players 28
      • CZ1
      • cz1
      • 21 / 77
          • Percentage filling 27%
          • Most players 61
      • ES1
      • es1
      • 5 / 78
          • Percentage filling 6%
          • Most players 23
    • Dispatchers | Dyżurni ruchu Dispatchers | Dyżurni ruchu
      • PL2
      • pl2
      • 31 / 34
          • Percentage filling 91%
          • Most players 34
      • PL3
      • pl3
      • 6 / 34
          • Percentage filling 18%
          • Most players 28
      • PL4
      • pl4
      • 8 / 34
          • Percentage filling 24%
          • Most players 32
      • PL8
      • pl8
      • 6 / 34
          • Percentage filling 18%
          • Most players 27
      • EN1
      • en1
      • 27 / 34
          • Percentage filling 79%
          • Most players 34
      • EN2
      • en2
      • 4 / 34
          • Percentage filling 12%
          • Most players 21
      • EN3
      • en3
      • 2 / 34
          • Percentage filling 6%
          • Most players 13
      • DE1
      • de1
      • 32 / 34
          • Percentage filling 94%
          • Most players 34
      • DE3
      • de3
      • 1 / 34
          • Percentage filling 3%
          • Most players 29
      • DE4
      • de4
      • 4 / 34
          • Percentage filling 12%
          • Most players 29
      • UA1
      • ua1
      • 2 / 34
          • Percentage filling 6%
          • Most players 17
      • FR1
      • fr1
      • 5 / 34
          • Percentage filling 15%
          • Most players 23
      • ES1
      • es1
      • 3 / 34
          • Percentage filling 9%
          • Most players 15
      • CZ1
      • cz1
      • 15 / 34
          • Percentage filling 44%
          • Most players 28
      • CN1
      • cn1
      • 0 / 34
          • Percentage filling 0%
          • Most players 19
    • 30 Total servers
    • 493 / 1679 Total players
    • 29% Filled servers
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy