虚拟键码 键盘消息(初稿)

Windows 专栏收录该内容
2 篇文章 0 订阅
虚拟键码 对应值(Hex)  对应值(Dec)对应键
VK_LBUTTON0x011鼠标左键
VK_RBUTTON0x022鼠标右键
VK_CANCEL0x033Cancel
VK_MBUTTON0x044鼠标中键
VK_XBUTTON10x055X1 鼠标按钮(触摸板左键?)
VK_XBUTTON20x066X2 鼠标按钮(触摸板右键?)
VK_BACK0x088Backspace
VK_TAB0x099Tab
VK_CLEAR0x0C12Clear(NumLock关闭时的数字键盘5)
VK_RETURN0x0D13Enter
VK_SHIFT0x1016Shift
VK_CONTROL0x1117Ctrl
VK_MENU0x1218Alt
VK_PAUSE0x1319Pause
VK_CAPITAL0x1420Caps Lock
VK_KANA0x1521(IME)假名模式
VK_HANGEUL0x1521保持兼容性;使用VK_HANGUL的
VK_HANGUL0x1521(IME)韩文模式
VK_JUNJA0x1723(IME)Junja模式
VK_FINAL0x1824(IME)最终模式
VK_HANJA0x1925(IME)朝鲜语汉字模式
VK_KANJI0x1925(IME)汉字模式
VK_IME_OFF0x1A26(IME)关闭
VK_ESCAPE0x1B27Esc
VK_CONVERT0x1C28(IME)转换
VK_NONCONVERT0x1D29(IME)nonconvert
VK_ACCEPT0x1E30(IME)接受
VK_MODECHANGE0x1F31(IME)模式更改请求
VK_SPACE0x2032Space
VK_PRIOR0x2133Page Up
VK_NEXT0x2234Page Down
VK_END0x2335End
VK_HOME0x2436Home
VK_LEFT0x2537Left Arrow
VK_UP0x2638Up Arrow
VK_RIGHT0x2739Right Arrow
VK_DOWN0x2840Down Arrow
VK_SELECT0x2941Select
VK_PRINT0x2A42Print
VK_EXECUTE0x2B43Execute
VK_SNAPSHOT0x2C44Print Screen
VK_INSERT0x2D45Insert
VK_DELETE0x2E46Delete
VK_HELP0x2F47Help
 0x30480
 0x31491
 0x32502
 0x33513
 0x34524
 0x35535
 0x36546
 0x37557
 0x38568
 0x39579
 0x4165A
 0x4266B
 0x4367C
 0x4468D
 0x4569E
 0x4670F
 0x4771G
 0x4872H
 0x4973I
 0x4A74J
 0x4B75K
 0x4C76L
 0x4D77M
 0x4E78N
 0x4F79O
 0x5080P
 0x5181Q
 0x5282R
 0x5383S
 0x5484T
 0x5585U
 0x5686V
 0x5787W
 0x5888X
 0x5989Y
 0x5A90Z
VK_LWIN0x5B91Windows键(左)
VK_RWIN0x5C92Windows键(右)
VK_APPS0x5D93应用键(自然科学键盘)
VK_SLEEP0x5F95计算机睡眠
VK_NUMPAD00x6096小键盘 0
VK_NUMPAD10x6197小键盘 1
VK_NUMPAD20x6298小键盘 2
VK_NUMPAD30x6399小键盘 3
VK_NUMPAD40x64100小键盘 4
VK_NUMPAD50x65101小键盘 5
VK_NUMPAD60x66102小键盘 6
VK_NUMPAD70x67103小键盘 7
VK_NUMPAD80x68104小键盘 8
VK_NUMPAD90x69105小键盘 9
VK_MULTIPLY0x6A106小键盘 *
VK_ADD0x6B107小键盘 +
VK_SEPARATOR0x6C108小键盘 Enter
VK_SUBTRACT0x6D109小键盘 -
VK_DECIMAL0x6E110小键盘 .
VK_DIVIDE0x6F111小键盘 /
VK_F10x70112F1
VK_F20x71113F2
VK_F30x72114F3
VK_F40x73115F4
VK_F50x74116F5
VK_F60x75117F6
VK_F70x76118F7
VK_F80x77119F8
VK_F90x78120F9
VK_F100x79121F10
VK_F110x7A122F11
VK_F120x7B123F12
VK_F130x7C124F13
VK_F140x7D125F14
VK_F150x7E126F15
VK_F160x7F127F16
VK_F170x80128F17
VK_F180x81129F18
VK_F190x82130F19
VK_F200x83131F20
VK_F210x84132F21
VK_F220x85133F22
VK_F230x86134F23
VK_F240x87135F24
VK_NAVIGATION_VIEW0x88136导航UI的视图,参考"Material Design"
VK_NAVIGATION_MENU0x89137导航UI的菜单
VK_NAVIGATION_UP0x8A138导航UI的上移光标键
VK_NAVIGATION_DOWN0x8B139导航UI的下移光标键
VK_NAVIGATION_LEFT0x8C140导航UI的左移光标键
VK_NAVIGATION_RIGHT0x8D141导航UI的右移光标键
VK_NAVIGATION_ACCEPT0x8E142导航UI的接受(跳转)键
VK_NAVIGATION_CANCEL0x8F143导航UI的取消(跳转)键
VK_NUMLOCK0x90144Num Lock
VK_SCROLL0x91145Scroll
VK_OEM_NEC_EQUAL0x92146小键盘'='
VK_OEM_FJ_JISHO0x92146富士通日语(或自动化OA)键盘词典键
VK_OEM_FJ_MASSHOU0x93147Unregister word' key
VK_OEM_FJ_TOUROKU0x94148Register word' key
VK_OEM_FJ_LOYA0x95149Left OYAYUBI' key
VK_OEM_FJ_ROYA0x96150Right OYAYUBI' key
VK_LSHIFT0xA0160上档键(左)
VK_RSHIFT0xA1161上档键(右)
VK_LCONTROL0xA2162Ctrl(左)
VK_RCONTROL0xA3163Ctrl(右)
VK_LMENU0xA4164菜单键(左)
VK_RMENU0xA5165菜单键(右)
VK_BROWSER_BACK0xA6166浏览器后退
VK_BROWSER_FORWARD0xA7167浏览器前进
VK_BROWSER_REFRESH0xA8168浏览器刷新
VK_BROWSER_STOP0xA9169浏览器停止
VK_BROWSER_SEARCH0xAA170浏览器搜索
VK_BROWSER_FAVORITES0xAB171浏览器收藏夹
VK_BROWSER_HOME0xAC172浏览器起始页或主页
VK_VOLUME_MUTE0xAD173音量静音
VK_VOLUME_DOWN0xAE174音量降低
VK_VOLUME_UP0xAF175音量升高
VK_MEDIA_NEXT_TRACK0xB0176下一曲目
VK_MEDIA_PREV_TRACK0xB1177上一曲目
VK_MEDIA_STOP0xB2178停止媒体
VK_MEDIA_PLAY_PAUSE0xB3179播放/暂停媒体
VK_LAUNCH_MAIL0xB4180启动邮件
VK_LAUNCH_MEDIA_SELECT0xB5181选择媒体
VK_LAUNCH_APP10xB61821键启动应用程序
VK_LAUNCH_APP20xB71832键启动应用程序
VK_OEM_10xBA186; :
VK_OEM_PLUS0xBB187= +
VK_OEM_COMMA0xBC188<,
VK_OEM_MINUS0xBD189- _
VK_OEM_PERIOD0xBE190>.
VK_OEM_20xBF191/ ?
VK_OEM_30xC0192` ~
VK_GAMEPAD_A0xC3195游戏手柄 A
VK_GAMEPAD_B0xC4196游戏手柄 B
VK_GAMEPAD_X0xC5197游戏手柄 X
VK_GAMEPAD_Y0xC6198游戏手柄 Y
VK_GAMEPAD_RIGHT_SHOULDER0xC7199侧顶部R1键
VK_GAMEPAD_LEFT_SHOULDER0xC8200侧顶部L1键
VK_GAMEPAD_LEFT_TRIGGER0xC9201侧顶部L2键
VK_GAMEPAD_RIGHT_TRIGGER0xCA202侧顶部R2键
VK_GAMEPAD_DPAD_UP0xCB203十字方向键盘上键
VK_GAMEPAD_DPAD_DOWN0xCC204十字方向键盘下键
VK_GAMEPAD_DPAD_LEFT0xCD205十字方向键盘左键
VK_GAMEPAD_DPAD_RIGHT0xCE206十字方向键盘右键
VK_GAMEPAD_MENU0xCF207菜单键(图标以三横杠表示)
VK_GAMEPAD_VIEW0xD0208查看键(图标以两个叠加方框表示)
VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON0xD1209L3键(左摇杆垂直按下)
VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON0xD2210R3键(右摇杆垂直按下)
VK_GAMEPAD_LEFT_THUMBSTICK_UP0xD3211左摇杆方向上键
VK_GAMEPAD_LEFT_THUMBSTICK_DOWN0xD4212左摇杆方向下键
VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT0xD5213左摇杆方向右键
VK_GAMEPAD_LEFT_THUMBSTICK_LEFT0xD6214左摇杆方向左键
VK_GAMEPAD_RIGHT_THUMBSTICK_UP0xD7215右摇杆方向上键
VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN0xD8216右摇杆方向下键
VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT0xD9217右摇杆方向右键
VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT0xDA218右摇杆方向左键
VK_OEM_40xDB219[ {
VK_OEM_50xDC220\|
VK_OEM_60xDD221] }
VK_OEM_70xDE222' "
VK_OEM_80xDF223§ !
VK_OEM_AX0xE1225日本键盘'AX'键
VK_OEM_1020xE2226"<>"或RT 102键键盘上的"\|"
VK_ICO_HELP0xE3227IcoHlp
VK_ICO_000xE4228Ico00
VK_PROCESSKEY0xE5229Process
VK_ICO_CLEAR0xE6230IcoClr
VK_PACKET0xE7231将Unicode字符作为击键传递
VK_OEM_RESET0xE9233Reset
VK_OEM_JUMP0xEA234Jump
VK_OEM_PA10xEB235Pa1
VK_OEM_PA20xEC236Pa2
VK_OEM_PA30xED237Pa3
VK_OEM_WSCTRL0xEE238WsCtrl
VK_OEM_CUSEL0xEF239Cu Sel
VK_OEM_ATTN0xF0240Oem Attn
VK_OEM_FINISH0xF1241Finish
VK_OEM_COPY0xF2242Copy
VK_OEM_AUTO0xF3243Auto
VK_OEM_ENLW0xF4244Enlw
VK_OEM_BACKTAB0xF5245Back Tab
VK_ATTN0xF6246联系人键
VK_CRSEL0xF7247CRSEL键
VK_EXSEL0xF8248ExSel键
VK_EREOF0xF9249删除EOF键
VK_PLAY0xFA250播放键
VK_ZOOM0xFB251变焦键
VK_NONAME0xFC252NoName
VK_PA10xFD253PAI键
VK_OEM_CLEAR0xFE254清除键
  • 0
    点赞
  • 2
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值