The current implementation of the service makes prodigious use of keyEvent.keyCode by mapping numerical values from this property to a Typescript enum for a better developer experience. keyCode is deprecated in favor of key, a string property. I need to rejigger 'ngx-keyboard-events.service.ts' so that 1) it takes advantage of the complete set of possible values for key, and 2) it no longer relies on keyCode.
The current implementation of the service makes prodigious use of
keyEvent.keyCodeby mapping numerical values from this property to a Typescript enum for a better developer experience.keyCodeis deprecated in favor ofkey, a string property. I need to rejigger 'ngx-keyboard-events.service.ts' so that 1) it takes advantage of the complete set of possible values forkey, and 2) it no longer relies onkeyCode.