Fallout 4

List of Possible Keybinds


Possible Keybindings (not exhaustive!):

Keyboard Keybinds:
Note: All single keys must be CAPITALIZED.

Single Keys
e.g. Z, T, G, B, etc.

Key Modifiers + Single Keys
e.g. Shift-1, Shift-2, Alt-1, Ctrl-1, etc.

Multiple Key Modifiers + Single Keys
Order of modifiers is important - use them in this order: Shift, Ctrl, Alt.
e.g. Shift-Ctrl-1, Shift-Alt-B, Ctrl-Alt-T, Shift-Ctrl-Alt-H

Numpad
Note the capitalization of NumPad.
e.g. NumPad0, NumPad1 to NumPad9, NumPad*, NumPad+, NumPad-, etc.

Special Keys:
e.g. R Ctrl (with a space), R Alt, PgUp, PgDn, Home, End, ScrlLock, NumLock, Backspace, Insert, Delete, Caps Lock

Mouse Keybinds:
Mouse1
Mouse2
Mouse3
Mouse4/5/6/7/8
MouseWheelUp
MouseWheelDown

Controller Keybinds:
Xenon_A / Xenon_B / Xenon_X / Xenon_Y
Xenon_Select / Xenon_Start
Xenon_LS / Xenon_L1 / Xenon_L2 / Xenon_L3
Xenon_RS / Xenon_R1 / Xenon_R2 / Xenon_R3
DPad_Up / DPad_Down / DPad_Left / DPad_Right

To use hotkeys on Xbox 360 controllers without overriding a default action, you can map the Xbox Guide button to the Shift key with JoyToKey, and prefix your controller keybinds with Shift-<keybind> (e.g. Shift-DPad_Up). You can then access hotkeys by pressing the Xbox Guide button + your assigned button.

Article information

Added on

Edited on

Written by

registrator2000

133 comments

  1. DanielIllah2
    DanielIllah2
    • premium
    • 3 kudos
    "Can I key-bind to a bat command? If so, how would it have to look like? Been trying a whiile now, nothing takes. I want two hotkeys to unequip/re-equip my pipboy, saves me installing one of them mods for this purpose."
     

    If you are trying to put some if/elseif/endif or other conditional command in the bat that's going to not work or at least will need different formatting from what will run without problems directly in the console. For unknown reasons it just doesn't fly even if your lines are literally identical between bat and direct ingame console command. The "different formatting" part is just my wishful thinking, it might just not work period.


    But you can put console commands directly in hotkeys.ini if you skip RETURN/linefeed/newline between the commands you wish to bind to one key/combination. Use ; to separate commands.
    1. vvk78
      vvk78
      • member
      • 80 kudos
      Thanks to @DanielIllah2 and @jcedrone1003, I have figured out below command syntax to use SHIFT+TAB for toggling the PipBoy:

      Shift-Tab=if "14".getEquipped 00021b3b; "14".cf unequipItem 00021b3b 0 1; else; "14".cf equipItem 00021b3b 0 1; endif


      Very useful to use this toggle command, when I use "player.unequipall" console command to see if any armor mods are causing VFX glitches on my player character.
  2. DatDirtyDawg
    DatDirtyDawg
    • premium
    • 14 kudos
    I've come to realize I am too stupid to use this mod 
    1. Joker40001
      Joker40001
      • member
      • 0 kudos
      +7
  3. subpar69420
    subpar69420
    • member
    • 0 kudos
    I can't get Left Control to bind to anything.
    using this to throw a grenade but I can't get anything to work.

    L Ctrl=player.pa ActionThrow
    1. Lexudau
      Lexudau
      • premium
      • 2 kudos
      Good question. Can't get Ctrl to work either.
  4. frodo12311
    frodo12311
    • premium
    • 0 kudos
    I would greatly appreciate some help, I want to be able to hold down left bumper and make my d-pad then act as keybinds for things in the MCM, so I could say assign LB+DpadUp to be keyboard L so I can use the True invis keybind I set to L. Any help on how to do this would be great. 

    Nevermind, got it to all work with steam overlay and Buffout 4.
  5. KarianaRose
    KarianaRose
    • member
    • 0 kudos
    Is there a limit to how many hotkeys can be used by chance? I've been trying to add Shift-NumPad1 through NumPad0 but only NumPad 1 + 2 are working. Everything after that just won't work. I even tried swapping to Ctrl+NumPad3 and it still isn't working. Is there a limit?
  6. Benja909
    Benja909
    • member
    • 0 kudos
    How i can make that when i press N , then the "R" and "Enter" get pressed? is for quick scrapping

    I tried (i have "use" in F):

    N=R;F with and without the quotations  and i changed " ;  " for " ,  "
  7. faryxwtf
    faryxwtf
    • member
    • 1 kudos
    hey, I accidentally swapped the [=] from the original favorite hotkey with Q,,  I did that by unbinding the Q key but somehow I cant restore the [=] key back to its original function. which was to use one of the item that I've favorited.. now the [=] key don't have any thing to it, pressing it did nothing. the function of [=] key went to Q..

    how do I undo it
     
    Edit: I think I've found a fix.. I maybe just need to edit the keys inside CustomControlMap.txt
    Edit 2: yepp it work!
  8. Valahul
    Valahul
    • supporter
    • 8 kudos
    Is it possible to use the same key to equip and unquip a piece of armor?    For example: If i press  "Z" I will equip a helmet and if I press "Z" again, I will unequip it.  
    1. DanielIllah2
      DanielIllah2
      • premium
      • 3 kudos
      You will have to use logic operators such as "if [conditions, command etc] elseif [command]", there's some documentation in the wiki. I'm not versed enough on the stuff to offer explicit code.

      Fallout 4 console commands | Fallout Wiki | Fandom
    2. dalantoc
      dalantoc
      • member
      • 0 kudos
      By now you've probably figured out conditional logic only works in console with commands you immediately type/paste at the command prompt.

      It won't work in hotkeys, as all commands on the line are executed regardless of preceding conditional logic.

      if GetItemCount "59a71"; show gamehour

      Will always show the game time whether you have any abraxo or not.

      It won't work in bat files, as the line containing logic statements always causes a "mismatched if/then/else block" error despite using syntax that works correctly when simply pasted/executed in console.
    3. RaidersClamoring
      RaidersClamoring
      • premium
      • 3 kudos
      Indeed, some things can't be put in logic expressions. I use this to toggle between KBM and Gamepad, which does work:

      if getini "bGamepadEnable:GENERAL"==1; setini "bGamepadEnable:GENERAL" 0; elseif getini "bGamepadEnable:GENERAL"==0; setini "bGamepadEnable:GENERAL" 1; endif

      So it's possible to create toggles based on info that can be brought up in console.

      I don't know about the getitemcount thing. What you pasted is malformed but I assume you've tried it with proper closing endif.
    4. jcedrone1003
      jcedrone1003
      • member
      • 1 kudos
      You CAN effectively create a toggle hotkey with this mod by using conditional statements.

      The following hotkey command will create a gasmask toggle bound to the Z key:
      Z=if "14".getEquipped 000787d8; "14".unequipItem 000787d8; else; "14".equipItem 000787d8; endIf

      In speaking terms, this command is basically saying: "if a gasmask is equipped, unequip it. otherwise, equip one". You can then copy and paste this into other hotkeys, simply replacing the "000787d8" with whatever form ID you want to create a toggle for and replacing the Z at the beginning of the line with whichever key you want to bind to.

      If you're like me and get annoyed by notifications about equipping items, the following hotkey will do the exact same thing as above, but will not create a notification in your upper-left corner when an item is equipped/unequipped.
      Z=if "14".getEquipped 000787d8; "14".cf unequipItem 000787d8 0 1; else; "14".cf equipItem 000787d8 0 1; endif


      This command does not use the getItemCount function (I haven't tested but other users say it doesn't work? but I don't think that's correct). The getItemCount is only to test if the player actually has the item in their inventory. Running the above hotkey without a gasmask in your inventory will just add one to your inventory. But I also just don't add a toggle hotkey for items I don't already own?
      If that's not good enough for you, the below command should theoretically work as well, but I haven't tested.
      Z=if "14".getItemCount 000787d8; if "14".getEquipped 000787d8; "14".unequipItem 000787d8; else; "14".equipItem 000787d8; endIf; endIf


      Take special note of the quotation marks around the ID here - they are required around baseIDs when using conditional statements in the console.
  9. DanielIllah2
    DanielIllah2
    • premium
    • 3 kudos
    I'm trying to add a small if/endif to the combination Ctrl-~, directly in the Hotkeys.ini file. While I understand this might not work due to conflict with opening console (please do not waste your time pointing this out), I'm still interested in knowing exactly what key/code will be parsed as Tilde by this mod and the game. Can I just put "~" or is there are special code like for modifier keys? Asking anyone.
  10. iriemk
    iriemk
    • member
    • 4 kudos
    Can I key-bind to a bat command? If so, how would it have to look like? Been trying a whiile now, nothing takes. I want two hotkeys to unequip/re-equip my pipboy, saves me installing one of them mods for this purpose.