@mundus/keycodes
v0.0.5
Published
Named keycodes
Downloads
1
Readme
@mundus/keycodes
Keycodes constant
Installation
npm i --save @mundus/keycodes
Documentation
export const KEY_CODE_EMPTY = ''
export const KEY_CODE_AGAIN = 'Again'
export const KEY_CODE_ALT_LEFT = 'AltLeft'
export const KEY_CODE_ALT_RIGHT = 'AltRight'
export const KEY_CODE_ARROW_DOWN = 'ArrowDown'
export const KEY_CODE_ARROW_LEFT = 'ArrowLeft'
export const KEY_CODE_ARROW_RIGHT = 'ArrowRight'
export const KEY_CODE_ARROW_UP = 'ArrowUp'
export const KEY_CODE_AUDIO_VOLUME_DOWN = 'AudioVolumeDown'
export const KEY_CODE_AUDIO_VOLUME_MUTE = 'AudioVolumeMute'
export const KEY_CODE_AUDIO_VOLUME_UP = 'AudioVolumeUp'
export const KEY_CODE_BACKQUOTE = 'Backquote'
export const KEY_CODE_BACKSLASH = 'Backslash'
export const KEY_CODE_BACKSPACE = 'Backspace'
export const KEY_CODE_BRACKET_LEFT = 'BracketLeft'
export const KEY_CODE_BRACKET_RIGHT = 'BracketRight'
export const KEY_CODE_BROWSER_BACK = 'BrowserBack'
export const KEY_CODE_BROWSER_FAVORITES = 'BrowserFavorites'
export const KEY_CODE_BROWSER_FORWARD = 'BrowserForward'
export const KEY_CODE_BROWSER_HOME = 'BrowserHome'
export const KEY_CODE_BROWSER_REFRESH = 'BrowserRefresh'
export const KEY_CODE_BROWSER_SEARCH = 'BrowserSearch'
export const KEY_CODE_BROWSER_STOP = 'BrowserStop'
export const KEY_CODE_CANCEL = 'Cancel'
export const KEY_CODE_CAPS_LOCK = 'CapsLock'
export const KEY_CODE_COMMA = 'Comma'
export const KEY_CODE_CONTEXT_MENU = 'ContextMenu'
export const KEY_CODE_CONTROL_LEFT = 'ControlLeft'
export const KEY_CODE_CONTROL_RIGHT = 'ControlRight'
export const KEY_CODE_CONVERT = 'Convert'
export const KEY_CODE_COPY = 'Copy'
export const KEY_CODE_CUT = 'Cut'
export const KEY_CODE_DELETE = 'Delete'
export const KEY_CODE_DIGIT_0 = 'Digit0'
export const KEY_CODE_DIGIT_1 = 'Digit1'
export const KEY_CODE_DIGIT_2 = 'Digit2'
export const KEY_CODE_DIGIT_3 = 'Digit3'
export const KEY_CODE_DIGIT_4 = 'Digit4'
export const KEY_CODE_DIGIT_5 = 'Digit5'
export const KEY_CODE_DIGIT_6 = 'Digit6'
export const KEY_CODE_DIGIT_7 = 'Digit7'
export const KEY_CODE_DIGIT_8 = 'Digit8'
export const KEY_CODE_DIGIT_9 = 'Digit9'
export const KEY_CODE_EJECT = 'Eject'
export const KEY_CODE_END = 'End'
export const KEY_CODE_ENTER = 'Enter'
export const KEY_CODE_EQUAL = 'Equal'
export const KEY_CODE_ESCAPE = 'Escape'
export const KEY_CODE_F1 = 'F1'
export const KEY_CODE_F2 = 'F2'
export const KEY_CODE_F3 = 'F3'
export const KEY_CODE_F4 = 'F4'
export const KEY_CODE_F5 = 'F5'
export const KEY_CODE_F6 = 'F6'
export const KEY_CODE_F7 = 'F7'
export const KEY_CODE_F8 = 'F8'
export const KEY_CODE_F9 = 'F9'
export const KEY_CODE_F10 = 'F10'
export const KEY_CODE_F11 = 'F11'
export const KEY_CODE_F12 = 'F12'
export const KEY_CODE_F13 = 'F13'
export const KEY_CODE_F14 = 'F14'
export const KEY_CODE_F15 = 'F15'
export const KEY_CODE_F16 = 'F16'
export const KEY_CODE_F17 = 'F17'
export const KEY_CODE_F18 = 'F18'
export const KEY_CODE_F19 = 'F19'
export const KEY_CODE_F20 = 'F20'
export const KEY_CODE_F21 = 'F21'
export const KEY_CODE_F22 = 'F22'
export const KEY_CODE_F23 = 'F23'
export const KEY_CODE_F24 = 'F24'
export const KEY_CODE_FIND = 'Find'
export const KEY_CODE_FN = 'Fn'
export const KEY_CODE_HANGUL_MODE = 'HangulMode'
export const KEY_CODE_HANJA = 'Hanja'
export const KEY_CODE_HELP = 'Help'
export const KEY_CODE_HOME = 'Home'
export const KEY_CODE_INSERT = 'Insert'
export const KEY_CODE_INTL_BACKSLASH = 'IntlBackslash'
export const KEY_CODE_INTL_RO = 'IntlRo'
export const KEY_CODE_INTL_YEN = 'IntlYen'
export const KEY_CODE_KANA_MODE = 'KanaMode'
export const KEY_CODE_KEY_A = 'KeyA'
export const KEY_CODE_KEY_B = 'KeyB'
export const KEY_CODE_KEY_C = 'KeyC'
export const KEY_CODE_KEY_D = 'KeyD'
export const KEY_CODE_KEY_E = 'KeyE'
export const KEY_CODE_KEY_F = 'KeyF'
export const KEY_CODE_KEY_G = 'KeyG'
export const KEY_CODE_KEY_H = 'KeyH'
export const KEY_CODE_KEY_I = 'KeyI'
export const KEY_CODE_KEY_J = 'KeyJ'
export const KEY_CODE_KEY_K = 'KeyK'
export const KEY_CODE_KEY_L = 'KeyL'
export const KEY_CODE_KEY_M = 'KeyM'
export const KEY_CODE_KEY_N = 'KeyN'
export const KEY_CODE_KEY_O = 'KeyO'
export const KEY_CODE_KEY_P = 'KeyP'
export const KEY_CODE_KEY_Q = 'KeyQ'
export const KEY_CODE_KEY_R = 'KeyR'
export const KEY_CODE_KEY_S = 'KeyS'
export const KEY_CODE_KEY_T = 'KeyT'
export const KEY_CODE_KEY_U = 'KeyU'
export const KEY_CODE_KEY_V = 'KeyV'
export const KEY_CODE_KEY_W = 'KeyW'
export const KEY_CODE_KEY_X = 'KeyX'
export const KEY_CODE_KEY_Y = 'KeyY'
export const KEY_CODE_KEY_Z = 'KeyZ'
export const KEY_CODE_LANG_1 = 'Lang1'
export const KEY_CODE_LANG_2 = 'Lang2'
export const KEY_CODE_LAUNCH_APP_1 = 'LaunchApp1'
export const KEY_CODE_LAUNCH_APP_2 = 'LaunchApp2'
export const KEY_CODE_LAUNCH_MAIL = 'LaunchMail'
export const KEY_CODE_LAUNCH_MEDIA_PLAYER = 'LaunchMediaPlayer'
export const KEY_CODE_MEDIA_PLAY_PAUSE = 'MediaPlayPause'
export const KEY_CODE_MEDIA_SELECT = 'MediaSelect'
export const KEY_CODE_MEDIA_STOP = 'MediaStop'
export const KEY_CODE_MEDIA_TRACK_NEXT = 'MediaTrackNext'
export const KEY_CODE_MEDIA_TRACK_PREVIOUS = 'MediaTrackPrevious'
export const KEY_CODE_META_LEFT = 'MetaLeft'
export const KEY_CODE_META_RIGHT = 'MetaRight'
export const KEY_CODE_MINUS = 'Minus'
export const KEY_CODE_NON_CONVERT = 'NonConvert'
export const KEY_CODE_NUM_LOCK = 'NumLock'
export const KEY_CODE_NUMPAD_0 = 'Numpad0'
export const KEY_CODE_NUMPAD_1 = 'Numpad1'
export const KEY_CODE_NUMPAD_2 = 'Numpad2'
export const KEY_CODE_NUMPAD_3 = 'Numpad3'
export const KEY_CODE_NUMPAD_4 = 'Numpad4'
export const KEY_CODE_NUMPAD_5 = 'Numpad5'
export const KEY_CODE_NUMPAD_6 = 'Numpad6'
export const KEY_CODE_NUMPAD_7 = 'Numpad7'
export const KEY_CODE_NUMPAD_8 = 'Numpad8'
export const KEY_CODE_NUMPAD_9 = 'Numpad9'
export const KEY_CODE_NUMPAD_ADD = 'NumpadAdd'
export const KEY_CODE_NUMPAD_CHANGE_SIGN = 'NumpadChangeSign'
export const KEY_CODE_NUMPAD_COMMA = 'NumpadComma'
export const KEY_CODE_NUMPAD_DECIMAL = 'NumpadDecimal'
export const KEY_CODE_NUMPAD_DIVIDE = 'NumpadDivide'
export const KEY_CODE_NUMPAD_ENTER = 'NumpadEnter'
export const KEY_CODE_NUMPAD_EQUAL = 'NumpadEqual'
export const KEY_CODE_NUMPAD_MULTIPLY = 'NumpadMultiply'
export const KEY_CODE_NUMPAD_PAREN_LEFT = 'NumpadParenLeft'
export const KEY_CODE_NUMPAD_PAREN_RIGHT = 'NumpadParenRight'
export const KEY_CODE_NUMPAD_SUBTRACT = 'NumpadSubtract'
export const KEY_CODE_OPEN = 'Open'
export const KEY_CODE_OSLEFT = 'OSLeft'
export const KEY_CODE_OSRIGHT = 'OSRight'
export const KEY_CODE_PAGE_DOWN = 'PageDown'
export const KEY_CODE_PAGE_UP = 'PageUp'
export const KEY_CODE_PASTE = 'Paste'
export const KEY_CODE_PAUSE = 'Pause'
export const KEY_CODE_PERIOD = 'Period'
export const KEY_CODE_POWER = 'Power'
export const KEY_CODE_PRINT_SCREEN = 'PrintScreen'
export const KEY_CODE_PROPS = 'Props'
export const KEY_CODE_QUOTE = 'Quote'
export const KEY_CODE_SCROLL_LOCK = 'ScrollLock'
export const KEY_CODE_SELECT = 'Select'
export const KEY_CODE_SEMICOLON = 'Semicolon'
export const KEY_CODE_SHIFT_LEFT = 'ShiftLeft'
export const KEY_CODE_SHIFT_RIGHT = 'ShiftRight'
export const KEY_CODE_SLASH = 'Slash'
export const KEY_CODE_SLEEP = 'Sleep'
export const KEY_CODE_SPACE = 'Space'
export const KEY_CODE_TAB = 'Tab'
export const KEY_CODE_UNDO = 'Undo'
export const KEY_CODE_UNIDENTIFIED = 'Unidentified'
export const KEY_CODE_VOLUME_DOWN = 'VolumeDown'
export const KEY_CODE_VOLUME_MUTE = 'VolumeMute'
export const KEY_CODE_VOLUME_UP = 'VolumeUp'
export const KEY_CODE_WAKE_UP = 'WakeUp'
export type KEY_CODE = ... // all the possible keycodes