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, //小鍵盤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鍵 }