mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-29 18:19:24 -04:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2016, 2025
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
// a map of keyCode for use in keyboard event handlers
|
|
export default {
|
|
ENTER: 'Enter',
|
|
// some older browsers use 'Esc' instead of 'Escape'
|
|
ESC: ['Escape', 'Esc'],
|
|
TAB: 'Tab',
|
|
LEFT: 'ArrowLeft',
|
|
UP: 'ArrowUp',
|
|
RIGHT: 'ArrowRight',
|
|
DOWN: 'ArrowDown',
|
|
T: 'T',
|
|
BACKSPACE: 'Backspace',
|
|
SPACE: ' ',
|
|
};
|