JSON format keyboard encoding comparison table
Updated: January 29, 2015 10:46:55 Author: Yuanlaisu
This article mainly introduces the keyboard encoding comparison table in JSON format. This article gives English key names, corresponding values and Chinese annotations. Friends who need it can refer to it.
A JSON format keyboard encoding comparison table was compiled. Reprinting is welcome, but please indicate the source, thank you!
{ VK_BACK: 8, //Backspace key VK_TAB: 9, //TAB key VK_RETURN: 13, //Enter key VK_SHIFT: 16, //Shift key VK_CONTROL: 17, //Ctrl key VK_MENU: 18, //Alt key VK_PAUSE: 19, //Pause Break key VK_CAPITAL: 20, //Caps Lock key VK_SPACE: 32, //Space bar VK_PRIOR: 33, //Page Up VK_NEXT: 34, //Page Down VK_END: 35, //End key VK_HOME: 36, //Home button VK_LEFT: 37, //Arrow keys:← VK_UP: 38, //Arrow keys:↑ VK_RIGHT: 39, //Arrow keys: → VK_DOWN: 40, //Arrow keys:↓ VK_INSERT: 45, //Insert key VK_DELETE: 46, //Delete key //Alphabet 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, //Left logo key VK_RWIN: 92, //Right logo key VK_APPS: 93, //Right mouse button shortcut VK_NUMPAD0: 96, //Keyboard 0 VK_NUMPAD0: 97, //Keyboard 1 VK_NUMPAD0: 98, //Keyboard 2 VK_NUMPAD0: 99, //Keyboard 3 VK_NUMPAD0: 100, //Keyboard 4 VK_NUMPAD0: 101, //Keyboard 5 VK_NUMPAD0: 102, //Keyboard 6 VK_NUMPAD0: 103, //Keyboard 7 VK_NUMPAD0: 104, //Keyboard 8 VK_NUMPAD0: 105, //Keyboard 9 VK_DECIMAL: 110, //Keyboard. VK_MULTIPLY: 106, //Keyboard* VK_MULTIPLY: 107, //Keyboard+ VK_SUBTRACT: 109, //Keyboard- VK_DIVIDE: 111, //Keyboard/ VK_F1: 112, //F1 key VK_F2: 113, //F2 key VK_F3: 114, //F3 key VK_F4: 115, //F4 key VK_F5: 116, //F5 key VK_F6: 117, //F6 key VK_F7: 118, //F7 key VK_F8: 119, //F8 key VK_F9: 120, //F9 key VK_F10: 121, //F10 key VK_F11: 122, //F11 key VK_F12: 123, //F12 key VK_NUMLOCK: 144, //Num Lock key VK_SCROLL: 145, //Scroll Lock key }
Related Articles
JavaScript to implement LI list data binding
This article mainly introduces JavaScript to implement LI list data binding, which can realize the function of binding the corresponding numerical items of Li list items. It involves the relevant usage techniques for javascript mouse onmousemove, onmouseout and onclick. Friends who need it can refer to it2015-08-08Analysis of two examples of WeChat applet routing jump
This article mainly introduces two examples of WeChat mini program routing jump. Friends in need can refer to it for reference. I hope it can be helpful. I wish you more progress and get better as soon as possible to get a promotion and salary increase.2022-04-04js realizes exquisite silver-gray vertical folding menu
This article mainly introduces JS to realize the exquisite silver-gray vertical folding menu, which can realize the vertical folding menu effect on the left side of the page. It is very beautiful and practical. Friends who need it can refer to it.2015-05-05Code instances for dragging and dropping on models using TransformControls
Drag and drop is a relatively common effect in front-end implementation. The following article mainly introduces relevant information about using TransformControls to drag and drop models. The article introduces the code in detail. Friends who need it can refer to it.2024-03-03Issue of variable reference across frames in js using "with" statement
Issue of variable reference across frames in js using "with" statement...2007-03-03Detailed explanation of the use of code highlighting plug-ins
During the use of web pages, code display is often used. Code highlighting can intuitively understand the code. This article mainly introduces a detailed explanation of the use of code highlighting plug-ins, which have certain reference value. If you are interested, you can learn about it.2022-01-01Example of mobile phone number recognition in mini program
This article mainly introduces the examples of mobile phone number recognition in the mini program. The article introduces the example code in detail, which has certain reference learning value for everyone's study or work. Friends who need it, please learn with the editor below.2020-12-12What you may not know () details
Veteran drivers, do you know there are two and third optional parameters? What are them? Isn't it incredible? The following article will introduce some relevant information that you may not know. The article introduces it in detail through sample code. Friends who need it can refer to it.2017-08-08Mini Program Custom Index Menu
This article mainly introduces the custom index menu of mini programs in detail. The sample code in the article is introduced in detail and has certain reference value. Interested friends can refer to it.2022-07-07JS implements a very practical couplet ad code (adaptively adaptable)
This article mainly introduces JS to implement very practical couplet advertising codes, which can realize functions such as floating display in fixed relative positions and sliding up and down the screen. It has certain reference value. Friends who need it can refer to it.2015-09-09