mirror of
https://github.com/54shady/kernel_drivers_examples.git
synced 2025-08-15 02:39:36 +00:00
Report the unused button bit in one time
This commit is contained in:
@ -180,8 +180,8 @@ qemu代码里描述上述鼠标按键的结构时HIDPointerEvent
|
||||
0x95, 0x03, /* Report Count (3) */
|
||||
0x75, 0x01, /* Report Size (1) */
|
||||
0x81, 0x02, /* Input (Data, Variable, Absolute) */
|
||||
0x95, 0x01, /* Report Count (1) */
|
||||
0x75, 0x05, /* Report Size (5) */
|
||||
0x95, 0x01, /* Report Count (1) 未配置button的位也需要上报 */
|
||||
0x75, 0x05, /* Report Size (5) 一次性将剩余的5bit都上报 */
|
||||
0x81, 0x01, /* Input (Constant) */
|
||||
0x05, 0x01, /* Usage Page (Generic Desktop) */
|
||||
0x09, 0x30, /* Usage (X) */
|
||||
|
Reference in New Issue
Block a user