mapKey method
Implementation
void mapKey(String action, KeyboardKey key) {
_keyMap[action] = key.value;
_keyDown[action] = false;
_keyPressed[action] = false;
_keyPressedRepeat[action] = false;
}
void mapKey(String action, KeyboardKey key) {
_keyMap[action] = key.value;
_keyDown[action] = false;
_keyPressed[action] = false;
_keyPressedRepeat[action] = false;
}