These properties are deprecated. We should consider to use `KeyboardEvent.key` or `KeyboardEvent.code` for new code. Note that we prefer to use the `key` property as multiple physical keys can send the same value (e.g. Enter can also be sent by the numeric pad). We should only use `code` when we explicitly want to target a single physical key on the keyboard. By doing this, we can now remove the dependency of `jQuery.ui.keyCode` that was used as mapping of key code descriptions to their numeric values. References: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/charCode (deprecated) https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode (deprecated) https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which (deprecated) https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key https://api.jqueryui.com/1.12/jQuery.ui.keyCode/ Some links that helps: https://w3c.github.io/uievents/tools/key-event-viewer.html https://www.toptal.com/developers/keycode/table closes odoo/odoo#139809 Related: odoo/enterprise#49591 Signed-off-by: Pierre Paridans (app) <app@odoo.com>