The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: FLN on July 21, 2025, 05:25:40 PM

Title: menuconf.tab - key's names for shortcuts
Post by: FLN on July 21, 2025, 05:25:40 PM
Hi everybody

Most letters, signs and symbols of course are obvious for use as shortcuts (binding keys/hotkeys) in the menuconf.tab file.

To indicate the use of 'ctrl' key for instance, I understand, that '^' (caret-symbol) gets used as fill-in.
But I'd like to know, if there's a list or a ruleset somewhere, where one can look up other symbols' and keys' names.

Currently I try to use '§' and also the 'tabulator' as binding keys.
And while simply putting in an actual tabulator in place, surprisingly does work on my Win11 PC, the same thing isn't true for the section sign (§) though.

Thank you for your help =)
Title: Re: menuconf.tab - key's names for shortcuts
Post by: prissi on July 21, 2025, 08:13:51 PM
TAB is historically ^I, or #9. (# with a number is the ASCII code). The program recognizes also F1-F20, + for shift (+F10 for shift F10).

§ is also #167

Further recognized are COMMA SCROLLLOCK PAUSE END SPACE ESC DELETE BACKSPACE NUM_0 ... NUM_9

But it may work differently on SDL and GDI.
Title: Re: menuconf.tab - key's names for shortcuts
Post by: FLN on July 22, 2025, 12:44:07 PM
That's awesome! Thank you very much ^-^