Skip to content

Key Binding Strings

MathiasDecrock edited this page Aug 5, 2021 · 5 revisions

Valheim's input system has the following key bindings:

  • Attack
  • SecondAttack
  • Block
  • Use
  • Hide
  • Jump
  • Crouch
  • Run
  • ToggleWalk
  • AutoRun
  • Sit
  • GPower
  • AltPlace
  • Forward
  • Left
  • Backward
  • Right
  • Inventory
  • Map
  • MapZoomOut
  • MapZoomIn
  • BuildPrev
  • BuildNext
  • BuildMenu
  • Remove
  • JoyUse
  • JoyHide
  • JoyJump
  • JoySit
  • JoyGPower
  • JoyInventory
  • JoyRun
  • JoyCrouch
  • JoyMap
  • JoyMenu
  • JoyBlock
  • JoyAttack
  • JoySecondAttack
  • JoyAltPlace
  • JoyRotate
  • JoyPlace
  • JoyRemove
  • JoyTabLeft
  • JoyTabRight
  • JoyLStickLeft
  • JoyLStickRight
  • JoyLStickUp
  • JoyLStickDown
  • JoyButtonA
  • JoyButtonB
  • JoyButtonX
  • JoyButtonY
  • JoyDPadLeft
  • JoyDPadRight
  • JoyDPadUp
  • JoyDPadDown
  • JoyLTrigger
  • JoyRTrigger
  • JoyLStick
  • JoyRStick

Displaying keybindings

You can display keybindings by using the $KEY_ prefix in the localization: Localization.instance.Localize("$KEY_Use"); will return "E" by default for example.

Clone this wiki locally