User Tools

Site Tools


virtual_key_codes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
virtual_key_codes [2015/12/29 09:28]
dexter
virtual_key_codes [2018/01/20 09:49] (current)
megano0body
Line 5: Line 5:
 **__Only decimal values are accepted in command, hex values are not supported.__** **__Only decimal values are accepted in command, hex values are not supported.__**
  
-**E.G:​** ​VK_SHIFT ​16 SHIFT key >> Tibia.SendKey(16)+**E.G:​** ​:​K_SHIFT ​16 SHIFT key >> Tibia.SendKey(16)
  
 ^Symbolic constant^Decimal value^Mouse or keyboard equivalent^ ^Symbolic constant^Decimal value^Mouse or keyboard equivalent^
 | |05-07 |Undefined| | |05-07 |Undefined|
-|VK_BACK ​|08 |BACKSPACE key| +|:​K_BACK ​|08 |BACKSPACE key| 
-|VK_TAB ​|09 |TAB key|+|:​K_TAB ​|09 |TAB key|
 | |10-11 |Undefined| | |10-11 |Undefined|
-|VK_CLEAR ​|12 |CLEAR key| +|:​K_CLEAR ​|12 |CLEAR key| 
-|VK_RETURN ​|13 |ENTER key|+|:​K_RETURN ​|13 |ENTER key|
 | |14-15 |Undefined| | |14-15 |Undefined|
-|VK_SHIFT ​|16 |SHIFT key| +|:​K_SHIFT ​|16 |SHIFT key| 
-|VK_CONTROL ​|17 |CTRL key| +|:​K_CONTROL ​|17 |CTRL key| 
-|VK_MENU ​|18 |ALT key | +|:​K_MENU ​|18 |ALT key | 
-|VK_PAUSE ​|19 |PAUSE key | +|:​K_PAUSE ​|19 |PAUSE key | 
-|VK_CAPITAL ​|20 |CAPS LOCK key |+|:​K_CAPITAL ​|20 |CAPS LOCK key |
 | |26 |Undefined | | |26 |Undefined |
-|VK_ESCAPE ​|27 |ESC key | +|:​K_ESCAPE ​|27 |ESC key | 
-|VK_SPACE ​|32 |SPACEBAR | +|:​K_SPACE ​|32 |SPACEBAR | 
-|VK_PRIOR ​|33 |PAGE UP key | +|:​K_PRIOR ​|33 |PAGE UP key | 
-|VK_NEXT ​|34 |PAGE DOWN key | +|:​K_NEXT ​|34 |PAGE DOWN key | 
-|VK_END ​|35 |END key | +|:​K_END ​|35 |END key | 
-|VK_HOME ​|36 |HOME key | +|:​K_HOME ​|36 |HOME key | 
-|VK_LEFT ​|37 |LEFT ARROW key | +|:​K_LEFT ​|37 |LEFT ARROW key | 
-|VK_UP |38 |UP ARROW key | +|:K_UP |38 |UP ARROW key | 
-|VK_RIGHT ​|39 |RIGHT ARROW key | +|:​K_RIGHT ​|39 |RIGHT ARROW key | 
-|VK_DOWN ​|40 |DOWN ARROW key | +|:​K_DOWN ​|40 |DOWN ARROW key | 
-|VK_SELECT ​|41 |SELECT key |+|:​K_SELECT ​|41 |SELECT key |
 | |42 |Specific to original equipment manufacturer | | |42 |Specific to original equipment manufacturer |
-|VK_EXECUTE ​|43 |EXECUTE key | +|:​K_EXECUTE ​|43 |EXECUTE key | 
-|VK_SNAPSHOT ​|44 |PRINT SCREEN key | +|:​K_SNAPSHOT ​|44 |PRINT SCREEN key | 
-|VK_INSERT ​|45 |INS key | +|:​K_INSERT ​|45 |INS key | 
-|VK_DELETE ​|46 |DEL key | +|:​K_DELETE ​|46 |DEL key | 
-|VK_HELP ​|47 |HELP key |+|:​K_HELP ​|47 |HELP key |
 | |48 |0 key| | |48 |0 key|
 | |49 |1 key| | |49 |1 key|
Line 75: Line 75:
 | |89 |Y key| | |89 |Y key|
 | |90 |Z key| | |90 |Z key|
-|VK_LWIN ​|91 |Left Windows key on a Microsoft Natural Keyboard | +|:​K_LWIN ​|91 |Left Windows key on a Microsoft Natural Keyboard | 
-|VK_RWIN ​|92 |Right Windows key on a Microsoft Natural Keyboard | +|:​K_RWIN ​|92 |Right Windows key on a Microsoft Natural Keyboard | 
-|VK_APPS ​|93 |Applications key on a Microsoft Natural Keyboard |+|:​K_APPS ​|93 |Applications key on a Microsoft Natural Keyboard |
 | |94 |Undefined | | |94 |Undefined |
-|VK_SLEEP ​|95 |SLEEP Key| +|:​K_SLEEP ​|95 |SLEEP Key| 
-|VK_NUMPAD0 ​|96 |Numeric keypad 0 key | +|:​K_NUMPAD0 ​|96 |Numeric keypad 0 key | 
-|VK_NUMPAD1 ​|97 |Numeric keypad 1 key | +|:​K_NUMPAD1 ​|97 |Numeric keypad 1 key | 
-|VK_NUMPAD2 ​|98 |Numeric keypad 2 key | +|:​K_NUMPAD2 ​|98 |Numeric keypad 2 key | 
-|VK_NUMPAD3 ​|99 |Numeric keypad 3 key | +|:​K_NUMPAD3 ​|99 |Numeric keypad 3 key | 
-|VK_NUMPAD4 ​|100 |Numeric keypad 4 key | +|:​K_NUMPAD4 ​|100 |Numeric keypad 4 key | 
-|VK_NUMPAD5 ​|101 |Numeric keypad 5 key | +|:​K_NUMPAD5 ​|101 |Numeric keypad 5 key | 
-|VK_NUMPAD6 ​|102 |Numeric keypad 6 key | +|:​K_NUMPAD6 ​|102 |Numeric keypad 6 key | 
-|VK_NUMPAD7 ​|103 |Numeric keypad 7 key | +|:​K_NUMPAD7 ​|103 |Numeric keypad 7 key | 
-|VK_NUMPAD8 ​|104 |Numeric keypad 8 key | +|:​K_NUMPAD8 ​|104 |Numeric keypad 8 key | 
-|VK_NUMPAD9 ​|105 |Numeric keypad 9 key | +|:​K_NUMPAD9 ​|105 |Numeric keypad 9 key | 
-|VK_MULTIPLY ​|106 |Multiply key | +|:​K_MULTIPLY ​|106 |Multiply key | 
-|VK_ADD ​|107 |Add key | +|:​K_ADD ​|107 |Add key | 
-|VK_SEPARATOR ​|108 |Separator key | +|:​K_SEPARATOR ​|108 |Separator key | 
-|VK_SUBTRACT ​|109 |Subtract key | +|:​K_SUBTRACT ​|109 |Subtract key | 
-|VK_DECIMAL ​|110 |Decimal key | +|:​K_DECIMAL ​|110 |Decimal key | 
-|VK_DIVIDE ​|111 |Divide key | +|:​K_DIVIDE ​|111 |Divide key | 
-|VK_F1 |112 |F1 key | +|:K_F1 |112 |F1 key | 
-|VK_F2 |113 |F2 key | +|:K_F2 |113 |F2 key | 
-|VK_F3 |114 |F3 key | +|:K_F3 |114 |F3 key | 
-|VK_F4 |115 |F4 key | +|:K_F4 |115 |F4 key | 
-|VK_F5 |116 |F5 key | +|:K_F5 |116 |F5 key | 
-|VK_F6 |117 |F6 key | +|:K_F6 |117 |F6 key | 
-|VK_F7 |118 |F7 key | +|:K_F7 |118 |F7 key | 
-|VK_F8 |119 |F8 key | +|:K_F8 |119 |F8 key | 
-|VK_F9 |120 |F9 key | +|:K_F9 |120 |F9 key | 
-|VK_F10 ​|121 |F10 key | +|:​K_F10 ​|121 |F10 key | 
-|VK_F11 ​|122 |F11 key | +|:​K_F11 ​|122 |F11 key | 
-|VK_F12 ​|123 |F12 key | +|:​K_F12 ​|123 |F12 key | 
-|VK_F13 ​|124 |F13 key | +|:​K_F13 ​|124 |F13 key | 
-|VK_F14 ​|125 |F14 key | +|:​K_F14 ​|125 |F14 key | 
-|VK_F15 ​|126 |F15 key | +|:​K_F15 ​|126 |F15 key | 
-|VK_F16 ​|127 |F16 key | +|:​K_F16 ​|127 |F16 key | 
-|VK_F17 ​|128 |F17 key | +|:​K_F17 ​|128 |F17 key | 
-|VK_F18 ​|129 |F18 key | +|:​K_F18 ​|129 |F18 key | 
-|VK_F19 ​|130 |F19 key | +|:​K_F19 ​|130 |F19 key | 
-|VK_F20 ​|131 |F20 key | +|:​K_F20 ​|131 |F20 key | 
-|VK_F21 ​|132 |F21 key | +|:​K_F21 ​|132 |F21 key | 
-|VK_F22 ​|133 |F22 key (PPC only) Key used to lock device| +|:​K_F22 ​|133 |F22 key (PPC only) Key used to lock device| 
-|VK_F23 ​|134 |F23 key | +|:​K_F23 ​|134 |F23 key | 
-|VK_F24 ​|135 |F24 key |+|:​K_F24 ​|135 |F24 key |
 | |136-143 |Unassigned | | |136-143 |Unassigned |
-|VK_NUMLOCK ​|144 |NUM LOCK key | +|:​K_NUMLOCK ​|144 |NUM LOCK key | 
-|VK_SCROLL ​|145 |SCROLL LOCK key | +|:​K_SCROLL ​|145 |SCROLL LOCK key | 
-|VK_LSHIFT ​|160 |Left SHIFT | +|:​K_LSHIFT ​|160 |Left SHIFT | 
-|VK_RSHIFT ​|161 |Right SHIFT | +|:​K_RSHIFT ​|161 |Right SHIFT | 
-|VK_LCONTROL ​|162 |Left CTRL | +|:​K_LCONTROL ​|162 |Left CTRL | 
-|VK_RCONTROL ​|163 |Right CTRL | +|:​K_RCONTROL ​|163 |Right CTRL | 
-|VK_LMENU ​|164 |Left ALT | +|:​K_LMENU ​|164 |Left ALT | 
-|VK_RMENU ​|165 |Right ALT |+|:​K_RMENU ​|165 |Right ALT |
virtual_key_codes.txt · Last modified: 2018/01/20 09:49 by megano0body