Amended syntax used for keystroke capture