Report::StenoReport added for USB in #822 is currently silently dropped in the BLE HID writer (ble_server.rs, BleHidServer::write_report):
https://github.com/HaoboGu/rmk/blob/5feaf8b152c2730e54a20910f097005a95e51b06/rmk/src/ble/ble_server.rs#L131-L137
With #965, it should now be possible to enable the StenoReport HID into the BleCompositeReport.
Rough plan:
- Append
StenoReport's HID collection into BleCompositeReport's #[gen_hid_descriptor] and bump report_map's size accordingly (currently [u8; 178]), updating the descriptor-pinning test in ble_report_map_tests.
- Add a
steno_report: [u8; 9] characteristic to HidService with descriptor [0x50, 1u8].
- Add the field to
BleHidServer and route Report::StenoReport to it via notify_report instead of dropping it.
I don't have a Bluebooth keyboard to test this for myself.
Report::StenoReportadded for USB in #822 is currently silently dropped in the BLE HID writer (ble_server.rs,BleHidServer::write_report):https://github.com/HaoboGu/rmk/blob/5feaf8b152c2730e54a20910f097005a95e51b06/rmk/src/ble/ble_server.rs#L131-L137
With #965, it should now be possible to enable the
StenoReportHID into theBleCompositeReport.Rough plan:
StenoReport's HID collection intoBleCompositeReport's#[gen_hid_descriptor]and bumpreport_map's size accordingly (currently[u8; 178]), updating the descriptor-pinning test inble_report_map_tests.steno_report: [u8; 9]characteristic toHidServicewith descriptor[0x50, 1u8].BleHidServerand routeReport::StenoReportto it vianotify_reportinstead of dropping it.I don't have a Bluebooth keyboard to test this for myself.