You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applications: nrf_desktop: Use generic cb for HID notification events
Use a generic callback for HID input report notification events. This
simplifies adding support for new HID input reports.
Jira: NCSDK-33592
Signed-off-by: Marek Pieta <[email protected]>
Signed-off-by: Pawel Dunaj <[email protected]>
Signed-off-by: Francesco Domenico Servidio <[email protected]>
Copy file name to clipboardExpand all lines: doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,8 +233,12 @@ nRF Desktop
233
233
This helps to reduce RAM usage.
234
234
* Link Time Optimization (:kconfig:option:`CONFIG_LTO`) to be enabled in MCUboot configurations of the nRF52840 DK (``mcuboot_smp``, ``mcuboot_qspi``).
235
235
LTO no longer causes boot failures and it reduces the memory footprint.
236
-
* The :ref:`nrf_desktop_hids` to use :c:func:`bt_hids_inp_rep_send_userdata` function to send HID input reports while in report mode.
237
-
This enables the use of a shared callback for sending HID reports.
236
+
* The :ref:`nrf_desktop_hids` to use shared callbacks for multiple HID reports:
237
+
238
+
* Use the :c:func:`bt_hids_inp_rep_send_userdata` function to send HID input reports while in report mode.
239
+
* Use an extended callback with the notification event to handle subscriptions for HID input reports in report mode (:c:struct:`bt_hids_inp_rep`).
240
+
241
+
This approach simplifies the process of adding support for new HID reports.
0 commit comments