Key codes

This is a list of key codes used by Minecraft, which are used in configuration files such as the options.txt file in the Minecraft directory.

Mouse codes
LWJGL supports a maximum of 16 mouse buttons. The Minecraft game settings screen translates button 0 to "Button 1", button 1 to "Button 2", et cetera.

Bedrock Edition
Tastaturcodes Billentyűkódok キーコード Toetscodes Códigos de teclas Коды клавиш Коди клавіш 键控代码