JSON格式的键盘编码对照表

编程学习 2021-07-04 21:47www.dzhlxh.cn编程入门
这篇文章主要介绍了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, //小键盘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键
  }

Copyright © 2016-2025 www.dzhlxh.cn 金源码 版权所有 Power by

网站模板下载|网络推广|微博营销|seo优化|视频营销|网络营销|微信营销|网站建设|织梦模板|小程序模板