Class KeyMappingLookup
java.lang.Object
net.minecraftforge.client.settings.KeyMappingLookup
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final EnumMap
<KeyModifier, Map<InputConstants.Key, List<KeyMapping>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
private List
<KeyMapping> get
(KeyModifier modifier, InputConstants.Key keyCode) getAll
(InputConstants.Key keyCode) Returns all active keys associated with the given key code and the active modifiers and conflict context.void
put
(InputConstants.Key keyCode, KeyMapping keyBinding) void
remove
(KeyMapping keyBinding)
-
Field Details
-
map
-
-
Constructor Details
-
KeyMappingLookup
public KeyMappingLookup()
-
-
Method Details
-
getAll
Returns all active keys associated with the given key code and the active modifiers and conflict context.- Parameters:
keyCode
- the key being pressed- Returns:
- the list of key mappings
-
get
-
put
-
remove
-
clear
public void clear()
-