Skip to main content

Keybindings

DDDBrowser allows you to customize all input controls. This guide explains how to rebind keys and configure your preferred control scheme.

Accessing Keybindings

To customize keybindings:

  1. Open Settings (from the menu system)
  2. Go to the Keybindings tab
  3. You'll see a list of all available actions and their current bindings

Rebinding Keys

To change a keybinding:

  1. Click on an action in the list
  2. Press the key(s) you want to bind
    • Can be a single key
    • Can include modifiers (Shift, Ctrl, Alt)
    • Can be a mouse button (Left, Right)
  3. The binding updates immediately
  4. Save your changes (changes are saved automatically)

Modifier Keys

You can combine keys with modifiers:

  • Shift + Key: Hold Shift and press the key
  • Ctrl + Key: Hold Ctrl and press the key
  • Alt + Key: Hold Alt and press the key
  • Multiple modifiers: Can combine Shift+Ctrl+Key, etc.

Mouse Buttons

You can bind actions to mouse buttons:

  • Left Mouse Button: Click left mouse button
  • Right Mouse Button: Click right mouse button
  • Mouse + Modifiers: Can combine mouse buttons with modifiers

Multiple Bindings

Each action can have multiple keybindings:

  • Primary binding: The main key for the action
  • Secondary bindings: Additional keys that trigger the same action
  • Use case: Support both WASD and arrow keys, or multiple input methods

Available Actions

Movement Actions

ActionDefaultDescription
MoveForwardWMove forward
MoveBackwardSMove backward
MoveLeftAStrafe left
MoveRightDStrafe right
JumpSpaceJump
SprintShiftSprint (hold)
CrouchCtrlCrouch (hold)
ProneZGo prone (hold)
SlowMoveAltMove slowly (hold)

Interaction Actions

ActionDefaultDescription
InteractEGeneric interact/use
ConfirmInteractEnterConfirm/talk/menu interact
SpecialInteractFSpecial interaction

Combat Actions

ActionDefaultDescription
PrimaryAttack(unbound)Primary attack
Block(unbound)Block/defend
Reload(unbound)Reload weapon
ThrowItem(unbound)Throw item
MeleeAttack(unbound)Melee attack
DropItem(unbound)Drop item

Slot Actions

ActionDefaultDescription
Slot11Quick slot 1
Slot22Quick slot 2
Slot33Quick slot 3
Slot44Quick slot 4
Slot55Quick slot 5
Slot66Quick slot 6
Slot77Quick slot 7
Slot88Quick slot 8
Slot99Quick slot 9
Slot00Quick slot 0

System Actions

ActionDefaultDescription
TerminalToggle(unbound)Toggle terminal/console
FullscreenToggleAlt+EnterToggle fullscreen

Keybindings Storage

Keybindings are stored in:

Location: %LOCALAPPDATA%\DDDBrowser\keybindings.json

Format: JSON file mapping actions to keybindings:

{
"MoveForward": [
{
"scancode": 26,
"shift": false,
"ctrl": false,
"alt": false,
"mouseLeft": false,
"mouseRight": false
}
],
"Interact": [
{
"scancode": 8,
"shift": false,
"ctrl": false,
"alt": false,
"mouseLeft": false,
"mouseRight": false
}
]
}

Persistence: Keybindings are saved automatically when changed.

Default Keybindings Reference

Here are the default keybindings for quick reference:

KeyAction
WMove Forward
SMove Backward
AMove Left
DMove Right
SpaceJump
ShiftSprint
CtrlCrouch
ZProne
AltSlow Move
EInteract
EnterConfirm Interact
FSpecial Interact
1-9Slots 1-9
0Slot 0
Alt+EnterFullscreen Toggle

Best Practices

Ergonomic Layouts

  • WASD: Standard for first-person games
  • Arrow Keys: Alternative for movement
  • Mouse Buttons: Good for frequent actions
  • Modifiers: Use for less common actions

Avoiding Conflicts

  • Don't bind the same key to multiple actions
  • Reserve modifier combinations for special actions
  • Test your bindings to ensure they work as expected

Accessibility

  • Consider users who may need different layouts
  • Support both left and right-handed configurations
  • Provide alternative bindings for common actions

Resetting Keybindings

To reset keybindings to defaults:

  1. Close DDDBrowser
  2. Delete or rename keybindings.json
  3. Restart DDDBrowser
  4. Default keybindings will be created automatically

Troubleshooting

Key Not Working

  • Verify the keybinding is saved correctly
  • Check for conflicts with other actions
  • Ensure the action is supported in the current scene
  • Try rebinding to a different key

Binding Not Saving

  • Verify write permissions in %LOCALAPPDATA%\DDDBrowser\
  • Check disk space
  • Look for error messages in the application log

Modifier Keys Not Working

  • Ensure you're pressing modifiers before the main key
  • Check system keyboard settings
  • Try a different modifier combination

Next Steps