Changes

125 bytes added ,  13:35, 29 August 2021
reword lead section
Line 1: Line 1: −
An input is required to produce some sort of action to the player within the game. These inputs can be boiled down to mappings associated with a certain key or mouse click. To allow these inputs to be remappable, a <code>KeyMapping</code> can be declared and registered.
+
A '''key mapping''' or '''keybinding''' is the relation of an action to an input, such as a mouse click or a combination of key presses. The action for the keymapping is defined in the code, while the triggering input is configurable by the user through the [[:mc:Options#Controls|Controls menu]]. In the code, these key mappings are declared and represented by <code>KeyMapping</code> instances
    
A <code>KeyMapping</code> can be declared with the following parameters:
 
A <code>KeyMapping</code> can be declared with the following parameters:
297

edits