Skip to content

Change default inventory key to E, default Aux1 key to F #16053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Some can be changed in the key config dialog in the settings tab.
| Left mouse button | Dig/punch/use |
| Right mouse button | Place/use |
| Shift + right mouse button | Build (without using) |
| I | Inventory menu |
| E | Inventory menu |
| Mouse wheel | Select item |
| 0-9 | Select item |
| Z | Zoom (needs zoom privilege) |
Expand All @@ -63,7 +63,7 @@ Some can be changed in the key config dialog in the settings tab.
| K | Enable/disable fly mode (needs fly privilege) |
| J | Enable/disable fast mode (needs fast privilege) |
| H | Enable/disable noclip mode (needs noclip privilege) |
| E | Aux1 (Move fast in fast mode. Games may add special features) |
| F | Aux1 (Move fast in fast mode. Games may add special features) |
| C | Cycle through camera modes |
| V | Cycle through minimap modes |
| Shift + V | Change minimap orientation |
Expand Down
4 changes: 2 additions & 2 deletions builtin/settingtypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ keymap_dig (Dig/punch/use) key KEY_LBUTTON
keymap_place (Place/use) key KEY_RBUTTON

# Key for opening the inventory.
keymap_inventory (Open inventory) key KEY_KEY_I
keymap_inventory (Open inventory) key KEY_KEY_E

# Key for moving fast in fast mode.
keymap_aux1 (Aux1) key KEY_KEY_E
keymap_aux1 (Aux1) key KEY_KEY_F

# Key for opening the chat window.
keymap_chat (Open chat) key KEY_KEY_T
Expand Down
4 changes: 2 additions & 2 deletions src/defaultsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ void set_default_settings()
settings->setDefault("keymap_place", "KEY_RBUTTON");
USEKEY2("keymap_drop", "SYSTEM_SCANCODE_20", "KEY_KEY_Q");
USEKEY2("keymap_zoom", "SYSTEM_SCANCODE_29", "KEY_KEY_Z");
USEKEY2("keymap_inventory", "SYSTEM_SCANCODE_12", "KEY_KEY_I");
USEKEY2("keymap_aux1", "SYSTEM_SCANCODE_8", "KEY_KEY_E");
USEKEY2("keymap_inventory", "SYSTEM_SCANCODE_8", "KEY_KEY_E");
USEKEY2("keymap_aux1", "SYSTEM_SCANCODE_9", "KEY_KEY_F");
USEKEY2("keymap_chat", "SYSTEM_SCANCODE_23", "KEY_KEY_T");
USEKEY2("keymap_cmd", "SYSTEM_SCANCODE_56", "/");
USEKEY2("keymap_cmd_local", "SYSTEM_SCANCODE_55", ".");
Expand Down
Loading