Quantcast
Channel: 蓝牙论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 7485

怎么将Hidemukbd工程的101标准键盘修改成可发送128、129音量调节键

$
0
0

需要将Hidemukbd工程里面的101标准键盘修改成可以发送音量调节,将Hidkbdservice.c中的hidReportMap[]中的key codes的最大值修改为0xf5还是无法发送128,129这两个音量调节键,具体修改如下:

// Key arrays (6 bytes)
0x95, 0x06, // Report Count (6)
0x75, 0x08, // Report Size (8)
0x15, 0x00, // Log Min (0)
0x25, 0xf5, // Log Max (245)
0x05, 0x07, // Usage Pg (Key Codes)
0x19, 0x00, // Usage Min (0)
0x29, 0xf5, // Usage Max (245)
0x81, 0x00, // Input: (Data, Array)

请问具体该修改哪个部分才能发送音量调节键等功能键呢?


Viewing all articles
Browse latest Browse all 7485

Trending Articles