function getKeys(key = {}) {
	return {
		...key,
		shiftKey: state.shift,
		altKey: state.alt,
		ctrlKey: state.ctrl,
		metaKey: state.meta,
	};
}
Gets the current state of the modifier keys
@param {object} key Key object
@param {int} [key.keyCode] Key code
@param {string} [key.key] Key
@returns {KeyboardEventInit}