Key Bindings
TMInterface allows to bind arbitrary commands to keys on the keyboard. These binds can then be put into the config file to make them persistent.
To add a new binding, use the bind
command, for example:
bind n toggle_inputs
binds the ānā key on the keyboard to toggle the input display.
If the command you are binding contains spaces in it such as set speed 10
, you need to put it in quotes, like so:
bind f10 "set speed 10"
This command binds the F10 key to set the race speed to 10x.
If you want your binds to persistent after closing the game, simply put the bind commands into your config.txt
file.
You can use special keys: Ctrl, Alt and Shift as modifiers for the key bindings. For example:
bind ctrl+n toggle_inputs
Unbinding keys
You can also revert the binding, by using the unbind
command, for example:
unbind n
would unbind the ānā key on the keyboard from executing the toggle_inputs
command.
Available keys
- letters:
a-z
- function keys:
f1-f19
- numpad keys:
num0-num9
- other keys:
.
,
/
\
'
;
[
]
-
- special keys:
pause
- the Pause keypgup
- the Page Up keypgdown
- the Page Down keyhome
- the Home keyend
the End key
- special keys (modifiers):
ctrl
- the Control keyalt
- the Alt keyshift
- the Shift key