Home > Web Front-end > JS Tutorial > Keyboard encoding comparison table in JSON format_javascript skills

Keyboard encoding comparison table in JSON format_javascript skills

WBOY
Release: 2016-05-16 16:17:12
Original
2699 people have browsed it

Compiled a keyboard encoding comparison table in JSON format. Reprinting is welcome, but please indicate the source, thank you!

{
 
    VK_BACK: 8, //退格键
 
    VK_TAB: 9, //TAB键
 
    VK_RETURN: 13, //回车键
 
    VK_SHIFT: 16, //Shift键
 
    VK_CONTROL: 17, //Ctrl键
 
    VK_MENU: 18, //Alt键
 
    VK_PAUSE: 19, //Pause Break键
 
    VK_CAPITAL: 20, //Caps Lock键
 
    VK_SPACE: 32, //空格键    
 
    VK_PRIOR: 33, //Page Up
 
    VK_NEXT: 34, //Page Down
 
    VK_END: 35, //End键
 
    VK_HOME: 36, //Home键    
 
    VK_LEFT: 37, //方向键:←
 
    VK_UP: 38, //方向键:↑
 
    VK_RIGHT: 39, //方向键:→
 
    VK_DOWN: 40, //方向键:↓
 
    VK_INSERT: 45, //Insert键
 
    VK_DELETE: 46, //Delete键
 
    //字母表
    VK_A: 65,
    VK_B: 66,
    VK_C: 67,
    VK_D: 68,
    VK_E: 69,
    VK_F: 70,
    VK_G: 71,
    VK_H: 72,
    VK_I: 73,
    VK_J: 74,
    VK_K: 75,
    VK_L: 76,
    VK_M: 77,
    VK_N: 78,
    VK_O: 79,
    VK_P: 80,
    VK_Q: 81,
    VK_R: 82,
    VK_S: 83,
    VK_T: 84,
    VK_U: 85,
    VK_V: 86,
    VK_W: 87,
    VK_X: 88,
    VK_Y: 89,
    VK_Z: 90,
 
    VK_LWIN: 91, //左徽标键
 
    VK_RWIN: 92, //右徽标键
 
    VK_APPS: 93, //鼠标右键快捷键
 
    VK_NUMPAD0: 96, //小键盘0
 
    VK_NUMPAD0: 97, //小键盘1
 
    VK_NUMPAD0: 98, //小键盘2
 
    VK_NUMPAD0: 99, //小键盘3
 
    VK_NUMPAD0: 100, //小键盘4
 
    VK_NUMPAD0: 101, //小键盘5
 
    VK_NUMPAD0: 102, //小键盘6
 
    VK_NUMPAD0: 103, //小键盘7
 
    VK_NUMPAD0: 104, //小键盘8
 
    VK_NUMPAD0: 105, //小键盘9
 
    VK_DECIMAL: 110, //小键盘.
 
    VK_MULTIPLY: 106, //小键盘*
 
    VK_MULTIPLY: 107, //小键盘+
 
    VK_SUBTRACT: 109, //小键盘-
 
    VK_DIVIDE: 111, //小键盘/
 
    VK_F1: 112, //F1键
 
    VK_F2: 113, //F2键
 
    VK_F3: 114, //F3键
 
    VK_F4: 115, //F4键
 
    VK_F5: 116, //F5键
 
    VK_F6: 117, //F6键
 
    VK_F7: 118, //F7键
 
    VK_F8: 119, //F8键
 
    VK_F9: 120, //F9键
 
    VK_F10: 121, //F10键
 
    VK_F11: 122, //F11键
 
    VK_F12: 123, //F12键
 
    VK_NUMLOCK: 144, //Num Lock键
 
    VK_SCROLL: 145, //Scroll Lock键
  }
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template