Jump to content

Key Binds (reserved ones)


Recommended Posts

Just got round to trying to drive the EU07 in the full sim,  it handily remembered my key binds from the play test,  but this caused a problem,

I had set up all the train power and brake controls on the lower part of my number pad, as this makes it comfortable to use for me, and my laptops key pad has double height 'plus' and 'enter' keys,  and i set them to be 'power increase and decrease'

But when i tried driving just now, trying to move the power control lower using 'key pad enter'  was going crazy, turns out that now - keypad enter - is a 'reserved key, and i believe used to activate the chat box?
Even tho there i have the 'write in chat' key set to 'Q' for my system.

Anyone know what key binds are 'reserved' and if there's any way to change them?  there's nothing in the "C:\Users\AppData\LocalLow\SimKol\SimRail\Buttons.conf' file that i can see relating to 'reserved keys'    and i'd really like to get my key pad's enter key back as my 'power control decrease' button... as it's ideal with that key and the one above it being double height, so i find it by feel if that makes sense.

Link to comment
Share on other sites

  • SIMRAIL Team
		KeyCode.Escape,
		KeyCode.Mouse0,
		KeyCode.Mouse1,
		KeyCode.Return,
		KeyCode.KeypadEnter

It might be recent change as even today there was argue between programers why both enters woudn't be interchangable.

Link to comment
Share on other sites

ahah,  so is the thinking that someone might want to use the number / key pad enter to send a chat message... have to say, if i'm typing anything, even using the number pad to put numbers instead of the row of numbers below the F keys, i always the the main 'return' key.

Link to comment
Share on other sites

Made a workaround.

2 lines of code in AutoHotKey....

#IfWinActive ahk_exe SimRail.exe ; AHK only active when in SimRail

NumpadEnter::NumpadDot ;map number pad enter to number pad dot

...allows me to to re-map the number pad enter key to the number pad dot key, which i bound as 'power decrease' in SimRail,


Now i no longer have the number pad enter key activating the chat window, and get to keep my double height enter and plus keys for power increase and decrease.


For anyone who's interested, the top line of code means that this re-map only works when i'm in SimRail, so if i ever did use the number pad enter key as a return key, i don't wonder why it's not working and typing dots instead,  last step was to add the hotkey script to the startup folder so it activates every time i start windows, as i found that if i forget to load the autohotkey before script starting SimRail, starting it needed Simrail re-starting to get the key to work (i also re-map my '\' key to left mouse button)

 

 

 

Link to comment
Share on other sites

11 hours ago, Stele said:
		KeyCode.Escape,
		KeyCode.Mouse0,
		KeyCode.Mouse1,
		KeyCode.Return,
		KeyCode.KeypadEnter

It might be recent change as even today there was argue between programers why both enters woudn't be interchangable.

 

is it possible ? or will it be possible to define key shortcuts for other drivers in the future, e.g. double horn, automatic button control etc ?

currently there are no keyboard shortcuts

 

Link to comment
Share on other sites

i too am hoping there will be more keybinds available.
and the ability to move a control the opposite direction using a modifier key (K for cab lights on, SHIFT + K for cab lights off)
I do recall from the playtest being told the keybinds part could do with re-writing, but there was no time to do that before early access launch, so i remain hopeful that things will change in the future,

 

i also worry that having a single global keybind scheme will get rather awkward as people start to make new content for SimRail and their trains have controls not found in Polish trains etc, 
we'd either end up with a 10 page long list of all controls for every train like Omsi did it, where you spend 10 minutes looking for the one that applies to the particular bus / train you need to set the keybind to,

or be like tsw, with a very limited set of keybinds, the more complex trains you are expected to operate the controls in the cab with the mouse 🤢

 

What would be better is to do it how railworks / tsc and some flight simulators do it, have a local keybind scheme that is stored with the train, so the relevent keybind file is loaded as the train is being loaded, allowing you to set the same key to multiple functions that are spread out through different trains,

i.e. the keys for 'shunt' aka the field weakening lever in the EU07, 2 keys are set for a control that only applies in that train, same with the cruise control up and down keys in the Elf,
I'd like to use the same keys to operate the shunt lever in the EU07 as the cruise control buttons in the Elf, but can't do that with the keybind tool in the control section of the sim (i know i can if i manually edit the 'Buttons.conf' file)

 

Of course when joystick control is released hopefully the situation will change, and the joystick levers and buttons can be set up to individual trains... so the lever used for brakes in the Traxx can also be used for the combined power and brake lever in the Elf and so on.

 

Link to comment
Share on other sites

I was using Numpad Enter for Alerter / Czwiak and Q key for LZB reset, and after playtest i found out that key no more works. Num Enter was good for alerter reset , some trains have it on right handside or as pedal.  But more strange, I was amazed who would use it for chat activation 😄

Link to comment
Share on other sites

yeah i thought that too... even when i am typing things and use the number pad to enter numbers, i automatically hit the enter key to the left of the keypad.

Only time i'll use the number pad enter key is when i'm using a calculator app.

 

 

Thankfully i found a workaround by changing the number pad enter key to send another key when it's pressed whilst SimRail is running, using 'AutoHotKey' which is free to download and use, 
just takes a little figuring out how to do more complex stuff with it as it's all code based,  but changing a key to output another is as simple as 'key1::key2'   the '::' is the code for remapping a key to another one.

 

But it would be nice to have the ability to bind one key to more than one command (for different trains that have controls not shared between them) the ability to use modifier keys to operate the control in reverse, and have the 2 enter keys seen as separate keys, maybe with a menu slider to have number pad enter keep the chat window active or not. 

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
      • 1 / 31
          • Percentage filling 3%
          • Most players 103
      • PL3
      • pl3
      • 0 / 86
          • Percentage filling 0%
          • Most players 76
      • PL4
      • pl4
      • 0 / 30
          • Percentage filling 0%
          • Most players 84
      • PL8
      • pl8
      • 1 / 82
          • Percentage filling 1%
          • Most players 84
      • EN1
      • en1
      • 5 / 29
          • Percentage filling 17%
          • Most players 81
      • EN2
      • en2
      • 1 / 87
          • Percentage filling 1%
          • Most players 60
      • EN3
      • en3
      • 1 / 83
          • Percentage filling 1%
          • Most players 60
      • DE1
      • de1
      • 4 / 30
          • Percentage filling 13%
          • Most players 87
      • DE3
      • de3
      • 0 / 32
          • Percentage filling 0%
          • Most players 67
      • DE4
      • de4
      • 0 / 83
          • Percentage filling 0%
          • Most players 65
      • FR1
      • fr1
      • 0 / 30
          • Percentage filling 0%
          • Most players 49
      • UA1
      • ua1
      • 0 / 30
          • Percentage filling 0%
          • Most players 27
      • CN1
      • cn1
      • 0 / 80
          • Percentage filling 0%
          • Most players 28
      • CZ1
      • cz1
      • 0 / 31
          • Percentage filling 0%
          • Most players 61
      • ES1
      • es1
      • 1 / 30
          • Percentage filling 3%
          • Most players 23
    • Dispatchers | Dyżurni ruchu Dispatchers | Dyżurni ruchu
      • PL2
      • pl2
      • 0 / 34
          • Percentage filling 0%
          • Most players 34
      • PL3
      • pl3
      • 0 / 34
          • Percentage filling 0%
          • Most players 28
      • PL4
      • pl4
      • 0 / 34
          • Percentage filling 0%
          • Most players 32
      • PL8
      • pl8
      • 0 / 34
          • Percentage filling 0%
          • Most players 27
      • EN1
      • en1
      • 3 / 34
          • Percentage filling 9%
          • Most players 34
      • EN2
      • en2
      • 1 / 34
          • Percentage filling 3%
          • Most players 21
      • EN3
      • en3
      • 2 / 34
          • Percentage filling 6%
          • Most players 13
      • DE1
      • de1
      • 0 / 34
          • Percentage filling 0%
          • Most players 34
      • DE3
      • de3
      • 0 / 34
          • Percentage filling 0%
          • Most players 29
      • DE4
      • de4
      • 1 / 34
          • Percentage filling 3%
          • Most players 29
      • UA1
      • ua1
      • 0 / 34
          • Percentage filling 0%
          • Most players 17
      • FR1
      • fr1
      • 0 / 34
          • Percentage filling 0%
          • Most players 23
      • ES1
      • es1
      • 0 / 34
          • Percentage filling 0%
          • Most players 15
      • CZ1
      • cz1
      • 0 / 34
          • Percentage filling 0%
          • Most players 28
      • CN1
      • cn1
      • 4 / 34
          • Percentage filling 12%
          • Most players 19
    • 30 Total servers
    • 25 / 1284 Total players
    • 2% Filled servers
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy