JSON格式的键盘编码对照表

前端之家收集整理的这篇文章主要介绍了JSON格式的键盘编码对照表前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

整理了一份JSON格式的键盘编码对照表。欢迎转载,但请注明出处,谢谢!

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,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>0 VK_NUMPAD0: 97,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>1 VK_NUMPAD0: 98,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>2 VK_NUMPAD0: 99,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>3 VK_NUMPAD0: 100,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>4 VK_NUMPAD0: 101,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>5 VK_NUMPAD0: 102,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>6 VK_NUMPAD0: 103,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>7 VK_NUMPAD0: 104,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>8 VK_NUMPAD0: 105,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>9 VK_DECIMAL: 110,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>. VK_MULTIPLY: 106,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>* VK_MULTIPLY: 107,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>+ VK_SUBTRACT: 109,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>- VK_DIVIDE: 111,//小<a href="https://www.jb51.cc/tag/jianpan/" target="_blank" class="keywords">键盘</a>/ 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键

}

原文链接:https://www.f2er.com/js/56026.html

猜你在找的JavaScript相关文章