Translations:Binds/6/en: Difference between revisions
Importing a new version from external source |
Importing a new version from external source |
||
Line 4: | Line 4: | ||
You can find keycodes [https://github.com/ddnet/ddnet/blob/master/src/engine/client/keynames.h here], or just type the key temporarily into one of the controls in the Settings > Controls page in DDNet client and it will show the key name. You can also use modifier keys with binds. | You can find keycodes [https://github.com/ddnet/ddnet/blob/master/src/engine/client/keynames.h here], or just type the key temporarily into one of the controls in the Settings > Controls page in DDNet client and it will show the key name. You can also use modifier keys with binds. | ||
bind <span style="color:magenta">ctrl+</span><span style="color:green">[key]</span> <span style="color:blue">[command/setting]</span> <span style="color:purple">[value]</span> | bind <span style="color:magenta">ctrl+</span><span style="color:green">[key]</span> <span style="color:blue">[command/setting]</span> <span style="color:purple">[value]</span> | ||
you can use '''ctrl''', '''alt''', '''shift''', and '''gui'''. '''Gui''' is used to refer to the windows key on windows, the command key on | you can use '''ctrl''', '''alt''', '''shift''', and '''gui'''. '''Gui''' is used to refer to the windows key on windows, the command key on macOS/osx, and super/meta on linux. |
Latest revision as of 23:59, 2 March 2023
- [key] is the key on your keyboard/mouse you want to bind a command to.
- [command/setting] A full list of all commands and settings can be found here.
- [value] is the variable you want to set your setting to or an argument for a command. Not all commands require arguments
You can find keycodes here, or just type the key temporarily into one of the controls in the Settings > Controls page in DDNet client and it will show the key name. You can also use modifier keys with binds.
bind ctrl+[key] [command/setting] [value]
you can use ctrl, alt, shift, and gui. Gui is used to refer to the windows key on windows, the command key on macOS/osx, and super/meta on linux.