键盘HID码表

news/2024/12/4 23:05:15/

 键盘HID码表
#define Keyboard_a                4   // Keyboard a and A
#define Keyboard_b                5   // Keyboard b and B
#define Keyboard_c                6   // Keyboard c and C
#define Keyboard_d                7   // Keyboard d and D
#define Keyboard_e                8   // Keyboard e and E
#define Keyboard_f                9   // Keyboard f and F
#define Keyboard_g                10  // Keyboard g and G
#define Keyboard_h                11  // Keyboard h and H
#define Keyboard_i                12  // Keyboard i and I
#define Keyboard_j                13  // Keyboard j and J
#define Keyboard_k                14  // Keyboard k and K
#define Keyboard_l                15  // Keyboard l and L
#define Keyboard_m                16  // Keyboard m and M
#define Keyboard_n                17  // Keyboard n and N
#define Keyboard_o                18  // Keyboard o and O
#define Keyboard_p                19  // Keyboard p and P
#define Keyboard_q                20  // Keyboard q and Q
#define Keyboard_r                21  // Keyboard r and R
#define Keyboard_s                22  // Keyboard s and S
#define Keyboard_t                23  // Keyboard t and T
#define Keyboard_u                24  // Keyboard u and U
#define Keyboard_v                25  // Keyboard v and V
#define Keyboard_w                26  // Keyboard w and W
#define Keyboard_x                27  // Keyboard x and X
#define Keyboard_y                28  // Keyboard y and Y
#define Keyboard_z                29  // Keyboard z and Z
#define Keyboard_1                30  // Keyboard 1 and !
#define Keyboard_2                31  // Keyboard 2 and @
#define Keyboard_3                32  // Keyboard 3 and #
#define Keyboard_4                33  // Keyboard 4 and $
#define Keyboard_5                34  // Keyboard 5 and %
#define Keyboard_6                35  // Keyboard 6 and ^
#define Keyboard_7                36  // Keyboard 7 and &
#define Keyboard_8                37  // Keyboard 8 and *
#define Keyboard_9                38  // Keyboard 9 and (
#define Keyboard_0                39  // Keyboard 0 and )
#define Keyboard_ENTER            40  // Keyboard ENTER
#define Keyboard_ESCAPE           41  // Keyboard ESCAPE
#define Keyboard_Backspace        42  // Keyboard Backspace
#define Keyboard_Tab              43  // Keyboard Tab
#define Keyboard_KongGe           44  // Keyboard Spacebar
#define Keyboard_JianHao          45  // Keyboard - and _(underscore)
#define Keyboard_DengHao          46  // Keyboard = and +
#define Keyboard_ZuoZhongKuoHao   47  // Keyboard [ and {
#define Keyboard_YouZhongKuoHao   48  // Keyboard ] and }
#define Keyboard_FanXieGang       49  // Keyboard \ and |
#define Keyboard_FenHao           51  // Keyboard ; and :
#define Keyboard_DanYinHao        52  // Keyboard ‘ and “
#define Keyboard_BoLangXian       53  // Keyboard `(Grave Accent) and ~(Tilde)
#define Keyboard_Douhao           54  // Keyboard, and <
#define Keyboard_JuHao            55  // Keyboard . and >
#define Keyboard_XieGang_WenHao   56  // Keyboard / and ?
#define Keyboard_CapsLock         57  // Keyboard Caps Lock
#define Keyboard_F1               58  // Keyboard F1
#define Keyboard_F2               59  // Keyboard F2
#define Keyboard_F3               60  // Keyboard F3
#define Keyboard_F4               61  // Keyboard F4
#define Keyboard_F5               62  // Keyboard F5
#define Keyboard_F6               63  // Keyboard F6
#define Keyboard_F7               64  // Keyboard F7
#define Keyboard_F8               65  // Keyboard F8
#define Keyboard_F9               66  // Keyboard F9
#define Keyboard_F10              67  // Keyboard F10
#define Keyboard_F11              68  // Keyboard F11
#define Keyboard_F12              69  // Keyboard F12
#define Keyboard_PrintScreen      70  // Keyboard PrintScreen
#define Keyboard_ScrollLock       71  // Keyboard Scroll Lock
#define Keyboard_Pause            72  // Keyboard Pause
#define Keyboard_Insert           73  // Keyboard Insert
#define Keyboard_Home             74  // Keyboard Home
#define Keyboard_PageUp           75  // Keyboard PageUp
#define Keyboard_Delete           76  // Keyboard Delete
#define Keyboard_End              77  // Keyboard End
#define Keyboard_PageDown         78  // Keyboard PageDown
#define Keyboard_RightArrow       79  // Keyboard RightArrow
#define Keyboard_LeftArrow        80  // Keyboard LeftArrow
#define Keyboard_DownArrow        81  // Keyboard DownArrow
#define Keyboard_UpArrow          82  // Keyboard UpArrow
#define Keypad_NumLock            83  // Keypad Num Lock and Clear
#define Keypad_ChuHao             84  // Keypad /
#define Keypad_ChengHao           85  // Keypad *
#define Keypad_JianHao            86  // Keypad -
#define Keypad_JiaHao             87  // Keypad +
#define Keypad_ENTER              88  // Keypad ENTER
#define Keypad_1_and_End          89  // Keypad 1 and End
#define Keypad_2_and_DownArrow    90  // Keypad 2 and Down Arrow
#define Keypad_3_and_PageDn       91  // Keypad 3 and PageDn
#define Keypad_4_and_LeftArrow    92  // Keypad 4 and Left Arrow
#define Keypad_5                  93  // Keypad 5
#define Keypad_6_and_RightArrow   94  // Keypad 6 and Right Arrow
#define Keypad_7_and_Home         95  // Keypad 7 and Home
#define Keypad_8_and_UpArrow      96  // Keypad 8 and Up Arrow
#define Keypad_9_and_PageUp       97  // Keypad 9 and PageUp
#define Keypad_0_and_Insert       98  // Keypad 0 and Insert
#define Keypad_Dian_and_Delete    99  // Keypad . and Delete
#define Keyboard_Application      101 // Keyboard Application
#define Keyboard_LeftControl      224
#define Keyboard_LeftShift        225
#define Keyboard_LeftAlt          226
#define Keyboard_LeftWindows      227
#define Keyboard_RightControl     228
#define Keyboard_RightShift       229
#define Keyboard_RightAlt         230
#define Keyboard_RightWindows     231

 


http://www.ppmy.cn/news/660865.html

相关文章

【QMK键盘】简单的QMK固件键盘环境搭建

目录 前言一、QMK固件支持的芯片二、QMK环境搭建1.获取QMK MSYS2.安装QMK MSYS3.获取QMK固件4.编译测试 前言 由于我开始上班了&#xff0c;但是只有一块键盘&#xff0c;每天上下班得拿来拿去十分不方便&#xff0c;为了满足我 购买键盘的欲望 我打开淘宝看了一下键盘所以就。…

Go-time模块源码-理解并计算每月开始之前的天数 - 代码解析与应用

今天在看源码的时候看到了一个数组&#xff0c;感觉很莫名其妙&#xff0c;代码如下&#xff1a; 代码 // daysBefore[m] counts the number of days in a non-leap year // before month m begins. There is an entry for m12, counting // the number of days before Janua…

web自动化测试:selenium怎么实现关键字驱动

要做 ui 自动化测试&#xff0c;使用关键字驱动可以说是必须会的一种测试方式&#xff0c;它既可以在纯代码的自动化程序中运行&#xff0c;也可以在测试平台中使用。 使用纯代码方式时&#xff0c;自动化工程师先写好一个通用的程序&#xff0c;其他手工测试人员只需要把执行…

施耐德、科士达、艾特网能等多品牌精密空调集中监控方案

管理范围大、效率低&#xff1f; 网点多&#xff0c;设备分散、距离远&#xff0c;不适合目前集中化管理的模式。传统人工管理效率低。 无法及时预知风险&#xff1f; 不能第一时间得知精密空调异常和告警&#xff0c;及时排除隐患和故障。难以及时发现精密空调存在的隐患。…

JS知识点汇总(五)--执行上下文

1. JavaScript中执行上下文和执行栈是什么&#xff1f; 1、执行上下文 执行上下文是一种对Javascript代码执行环境的抽象概念&#xff0c;也就是说只要有Javascript代码运行&#xff0c;那么它就一定是运行在执行上下文中 执行上下文的类型分为三种&#xff1a; 全局执行上…

集成测试、单元测试、系统测试之间的关系和区别

目录 前言 什么是集成测试&#xff1f; 什么是单元测试&#xff1f; 什么是系统集成测试&#xff1f; 集成测试与单元测试 系统测试与集成测试 总结&#xff1a; 前言 为了使软件正常工作&#xff0c;所有单元都应集成在一起并正常运行。集成测试就像是要求不同工种的工…

嵌入式常用软件/工具

工欲善其事&#xff0c;必先利其器。开发嵌入式或者其他的代码编写&#xff0c;有工具使用会好很多。以下总结几个常用的顺手工具&#xff1a; 1、Source Insight 快速查看代码&#xff0c;以及方便翻阅关联代码 2、Beyond Compare 比较代码文件和文件夹&#xff0c;用来改代码…

word中插入页码

选择“插入”选项卡&#xff0c;单击“页眉和页脚”组中的“页码”命令&#xff0c;打开“页码”下拉列表&#xff0c;在列表里选中页码插入的位置即可。 对页码的格式可以进行修改&#xff0c;单击“页码”下拉列表中的“设置页码格式”命令&#xff0c;打开“页码格式”对话框…