feat: 添加HID传输管理和旋转编码器支持
添加了hid_tx_event和hid_tx_done_event事件类型,用于统一管理HID 数据传输,并在ble_hid_module和usb_hid_module中实现相应的处理逻辑。 新增qdec_module模块来处理旋转编码器输入,将旋转事件转换为步进事件, 并在keyboard_module中集成音量控制功能。 更新CMakeLists.txt以包含新的事件和模块文件,在app.overlay中启 用qdec设备,并在prj.conf中添加SENSOR配置。 BREAKING CHANGE: 将原有的hid_boot_event和hid_report_event替换 为统一的hid_tx_event事件系统。
This commit is contained in:
@@ -74,3 +74,7 @@
|
||||
&usbd {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
qdec: &qdec {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user