News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

menuconf.tab - key's names for shortcuts

Started by FLN, July 21, 2025, 05:25:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FLN

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 =)

prissi

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.

FLN

That's awesome! Thank you very much ^-^