function getEvent(key, ctrl, meta, shift, alt) {
			const oEvent = {};
			oEvent.keyCode = key || null;
			oEvent.charCode = key || null;
			oEvent.ctrlKey = ctrl || false;
			oEvent.metaKey = meta || false;
			oEvent.shiftKey = shift || false;
			oEvent.altKey = alt || false;
			return oEvent;
		}
Key string constants.
"Arrow Left" and "Arrow Right" keys are switched in RTL mode.