Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_hids_boot_kb_in_report Struct Reference

Boot Keyboard Input Report layout. More...

#include <zephyr/bluetooth/services/hids.h>

Data Fields

uint8_t modifier
 Modifier key bitmap.
uint8_t reserved
 Reserved for OEM use, zero if unused.
uint8_t keys [6]
 Key codes; zero means the slot is empty.

Detailed Description

Boot Keyboard Input Report layout.

Defined by the USB HID Specification, Appendix B.1. Fill it and pass it to bt_hids_boot_report_set() or bt_hids_boot_report_send().

The values of modifier and keys are those of the USB HID Usage Tables, Keyboard/Keypad page, see hid_kbd_modifier and hid_kbd_code.

Field Documentation

◆ keys

uint8_t bt_hids_boot_kb_in_report::keys[6]

Key codes; zero means the slot is empty.

◆ modifier

uint8_t bt_hids_boot_kb_in_report::modifier

Modifier key bitmap.

◆ reserved

uint8_t bt_hids_boot_kb_in_report::reserved

Reserved for OEM use, zero if unused.


The documentation for this struct was generated from the following file:
  • zephyr/bluetooth/services/hids.h