/Zephyr-latest/include/zephyr/usb/class/ |
D | hid.h | 10 * @brief USB Human Interface Device (HID) common definitions header 12 * Header follows Device Class Definition for Human Interface Devices (HID) 24 * @brief hid.h API 25 * @defgroup usb_hid_definitions USB HID common definitions 33 * @name USB HID types and values 37 /** HID Specification release v1.11 */ 40 /** USB HID Class HID descriptor type */ 42 /** USB HID Class Report descriptor type */ 44 /** USB HID Class physical descriptor type */ 47 /** USB HID Class GetReport bRequest value */ [all …]
|
D | usb_hid.h | 10 * @brief USB HID Class device API header 16 #include <zephyr/usb/class/hid.h> 25 * @defgroup usb_hid_class USB HID class API 33 * @defgroup usb_hid_device_api HID class USB specific definitions 45 * @brief USB HID device interface 63 * @brief Register HID device 65 * @param[in] dev Pointer to USB HID device 66 * @param[in] desc Pointer to HID report descriptor 67 * @param[in] size Size of HID report descriptor 68 * @param[in] op Pointer to USB HID device interrupt struct [all …]
|
D | usbd_hid.h | 9 * @brief USBD HID device API header 17 #include <zephyr/usb/class/hid.h> 24 * @brief USBD HID Device API 25 * @defgroup usbd_hid_device USBD HID device API 33 * HID Device overview: 38 * | HID Device | 47 * | HID Device user | | 51 * ^ | HID Device Driver API: 59 * | HID Device | | 61 * | USB HID class | [all …]
|
/Zephyr-latest/subsys/usb/device/class/hid/ |
D | Kconfig | 1 # USB HID configuration options 15 string "USB HID device name template" 16 default "HID" 18 Device name template for the HID Devices. First device would have 26 module-str = usb hid 30 bool "USB HID Device Interrupt OUT Endpoint" 32 Enable USB HID Device Interrupt OUT Endpoint. 35 int "USB HID Device Interrupt Endpoint size" 38 USB HID Device interrupt endpoint size 44 Polling interval in ms selected by the USB HID Device. [all …]
|
/Zephyr-latest/include/zephyr/input/ |
D | input_hid.h | 16 * @brief Convert an input code to HID code. 18 * Takes an input code as input and returns the corresponding HID code as 23 * @retval the HID code corresponding to the input code. 24 * @retval -1 if there's no HID code for the specified input code. 29 * @brief Convert an input code to HID modifier. 31 * Takes an input code as input and returns the corresponding HID modifier as 35 * @retval the HID modifier corresponding to the input code. 36 * @retval 0 if there's no HID modifier for the specified input code.
|
/Zephyr-latest/doc/connectivity/usb/api/ |
D | hid.rst | 3 Human Interface Devices (HID) 6 Common USB HID part that can be used outside of USB support, defined in 7 header file :zephyr_file:`include/zephyr/usb/class/hid.h`. 9 HID types reference 14 HID items reference 19 HID Mouse and Keyboard report descriptors 23 a HID device implementation or simply as examples.
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | Kconfig.hid | 18 Number of buffers in the IN pool per HID instance. 25 Number of buffers in the OUT pool per HID instance. 28 int "HID device init priority" 31 HID device initialization priority 34 module-str = usbd hid
|
D | usbd_hid.c | 35 /* See HID spec. 6.2 Class-Specific Descriptors */ 48 struct hid_descriptor hid; member 261 "Buffer overflow in the HID driver"); in handle_get_report() 348 LOG_DBG("Get descriptor HID"); in handle_get_descriptor() 349 net_buf_add_mem(buf, &desc->hid, MIN(desc->hid.bLength, setup->wLength)); in handle_get_descriptor() 491 LOG_DBG("HID class %s init", c_data->name); in usbd_hid_init() 498 LOG_DBG("HID class %s shutdown", c_data->name); in usbd_hid_shutdown() 611 /* Get Report is required for all HID device types. */ in hid_dev_register() 636 sys_put_le16(ddata->rsize, (uint8_t *)&(desc->hid.sub[0].wDescriptorLength)); in hid_dev_register() 650 LOG_DBG("HID device %s init", dev->name); in hid_device_init() [all …]
|
D | Kconfig | 12 rsource "Kconfig.hid"
|
/Zephyr-latest/samples/subsys/usb/hid-keyboard/ |
D | sample.yaml | 2 name: USB HID keyboard sample 18 sample.usbd.hid-keyboard: 20 sample.usbd.hid-keyboard.out-report: 24 sample.usbd.hid-keyboard.large-report: 28 sample.usbd.hid-keyboard.large-out-report:
|
D | README.rst | 1 .. zephyr:code-sample:: usb-hid-keyboard 2 :name: USB HID keyboard 5 Implement a basic HID keyboard device. 10 This sample application demonstrates the HID keyboard implementation using the 21 report HID keys 1, 2, 3 and the right Alt modifier at once. 33 :zephyr-app: samples/subsys/usb/hid-keyboard
|
/Zephyr-latest/dts/bindings/usb/ |
D | zephyr,hid-device.yaml | 4 description: Bindings for HID device 6 compatible: "zephyr,hid-device" 14 HID device name. When this property is present, a USB device will use it 21 of the HID specification. Only boot devices are required to set one of 36 The size of the longest input report that the HID device can generate. 49 The size of the longest output report that the HID device can generate.
|
/Zephyr-latest/samples/subsys/usb/hid-mouse/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-hid-mouse 2 :name: USB HID mouse 5 Implement a basic HID mouse device. 10 This sample app demonstrates use of a USB Human Interface Device (HID) driver 17 This sample can be found under :zephyr_file:`samples/subsys/usb/hid-mouse` in the 49 :zephyr-app: samples/subsys/usb/hid-mouse 64 usb 2-2: Product: Zephyr HID mouse sample 67 …input: ZEPHYR Zephyr HID mouse sample as /devices/soc0/ahb/600000.ohci/usb2/2-2/2-2:1.0/0003:2FE3:… 68 …hid-generic 0003:2FE3:0100.0001: input: USB HID v1.10 Mouse [ZEPHYR Zephyr HID mouse sample] on us… 81 Input device name: "ZEPHYR Zephyr HID mouse sample"
|
D | sample.yaml | 2 name: USB HID mouse sample 9 sample.usb.hid-mouse: 15 sample.usb_device_next.hid-mouse:
|
D | prj.conf | 3 CONFIG_USB_DEVICE_PRODUCT="Zephyr HID mouse sample"
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/ |
D | README.rst | 2 :name: HID Peripheral 5 Implement a Bluetooth HID peripheral (generic mouse) 11 application specifically exposes the HID GATT Service. The report map used is
|
/Zephyr-latest/doc/connectivity/usb/device_next/api/ |
D | usbd_hid_device.rst | 3 HID device API 6 HID device specific API defined in :zephyr_file:`include/zephyr/usb/class/usbd_hid.h`.
|
/Zephyr-latest/doc/connectivity/usb/device/api/ |
D | usb_device_hid.rst | 3 USB HID Class API 6 USB device specific part for HID support defined in
|
/Zephyr-latest/dts/x86/intel/ |
D | alder_lake.dtsi | 58 acpi-hid = "INTC1057"; 65 acpi-hid = "INTC1057"; 72 acpi-hid = "INTC1057"; 79 acpi-hid = "INTC1057"; 86 acpi-hid = "INTC1057"; 93 acpi-hid = "INTC1057"; 100 acpi-hid = "INTC1057"; 107 acpi-hid = "INTC1057"; 114 acpi-hid = "INTC1057"; 121 acpi-hid = "INTC1057"; [all …]
|
/Zephyr-latest/include/zephyr/acpi/ |
D | acpi.h | 84 * @brief Get the ACPI HID for a node 87 * @return The HID of the ACPI node 100 * @brief check whether the node has ACPI HID property or not 103 * @return 1 if the node has the HID, 0 otherwise. 119 * @param hid the hardware id of the ACPI child device 121 * NULL if only one device with given hid present in the platform. 124 int acpi_legacy_irq_init(const char *hid, const char *uid); 173 * @param hid the hardware id of the ACPI child device 175 * NULL if only one device with given HID present in the platform. 178 struct acpi_dev *acpi_device_get(const char *hid, const char *uid);
|
/Zephyr-latest/soc/intel/common/ |
D | soc_gpio.h | 24 * @param hid the hardware id of the acpi device 29 int soc_acpi_gpio_resource_get(int bank_idx, char *hid, char *uid, struct gpio_acpi_res *res);
|
/Zephyr-latest/samples/subsys/usb/hid-keyboard/src/ |
D | main.c | 75 LOG_INF("HID device %s interface is %s", in kb_iface_ready() 197 LOG_ERR("HID Device is not ready"); in main() 205 LOG_ERR("Failed to register HID Device, %d", ret); in main() 225 LOG_INF("HID keyboard sample is initialized"); in main() 278 LOG_INF("USB HID device is not ready"); in main() 284 LOG_ERR("HID submit report error, %d", ret); in main()
|
/Zephyr-latest/tests/lib/acpi/integration/src/ |
D | main.c | 40 zassert_not_null(dev, "Failed to get acpi device with given HID"); in ZTEST() 60 zassert_not_null(dev, "Failed to get acpi device with given HID"); in ZTEST()
|
/Zephyr-latest/subsys/usb/device/class/ |
D | CMakeLists.txt | 10 add_subdirectory_ifdef(CONFIG_USB_DEVICE_HID hid)
|
/Zephyr-latest/doc/connectivity/usb/device/ |
D | usb_device.rst | 217 USB Human Interface Devices (HID) support 220 HID support abuses :ref:`device_model_api` simply to allow applications to use 221 the :c:func:`device_get_binding`. Note that there is no HID device API as such, 226 Each HID instance requires a HID report descriptor. The interface to the core 229 As the USB HID specification is not only used by the USB subsystem, the USB HID API 231 HID helper macros from :ref:`usb_hid_common` should be used to compose a 232 HID report descriptor. Macro names correspond to those used in the USB HID specification. 234 For the HID class interface, an IN interrupt endpoint is required for each instance, 312 issue will be fixed in the HID class implementation for the new USB support. 314 See :zephyr:code-sample:`usb-hid-mouse` sample for reference. [all …]
|