Disable F1 to F5

I have been searching for a while how to disable F1 - F5. Anyone knows how?

after 3 hours searching here is the full answer:

[link text][1]

246771-code.png

Thank you

Some keys have bindings and need to be changed in the UE4 editor itself. you can do this by starting the editor, select Edit at the top, select Editor Preferences, select Keyboard shortcuts and painfully go through the list and make changes to all the F1 to F12 keys you can see.

Though, some keys need to be changed manually and cannot be found here.(F5 for example) This worked for me while using the 4.21 engine to change the keys manually.

  • Locate where uE4 is installed - (“Example:C:\Program Files”)\Epic Games\UE_4.21\Engine\BaseInput.ini
  • Create a backup of the file: BaseInput.ini (Create a copy and rename it to BaseInput.Ini-bkup)
  • Open the file BaseInput.ini using notepad and delete the following lines or modify settings to use different keys.

+DebugExecBindings=(Key=F1,Command=“viewmode wireframe”, bIgnoreShift=True) +DebugExecBindings=(Key=F2,Command=“viewmode unlit”) +DebugExecBindings=(Key=F3,Command=“viewmode lit”) +DebugExecBindings=(Key=F4,Command=“viewmode lit_detaillighting”) +DebugExecBindings=(Key=F5,Command=“viewmode shadercomplexity”)

  • Save the file once modified.
  • Run UE4 editor and keys from F1 to F5 should be disabled. (Within the UE4 editor only.)

Appreciated @LORDROACH ! (simply prefixing them with a minus sign worked for me in UE4.25)
The important thing is to do that in the folder under UE_4.xx and not get confused with the seemingly same file under the “Launcher” folder.