Home
last modified time | relevance | path

Searched +full:hid +full:- +full:mouse (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/samples/subsys/usb/hid-mouse/
DREADME.rst1 .. zephyr:code-sample:: usb-hid-mouse
2 :name: USB HID mouse
3 :relevant-api: _usb_device_core_api usb_hid_device_api input_interface
5 Implement a basic HID mouse device.
10 This sample app demonstrates use of a USB Human Interface Device (HID) driver
12 into a mouse that has a left mouse button and optionally (depending on
13 the number of buttons on the board) a right mouse button, X-axis movement,
14 and Y-axis movement.
17 This sample can be found under :zephyr_file:`samples/subsys/usb/hid-mouse` in the
24 There must be a :dtcompatible:`gpio-keys` group of buttons or keys defined at
[all …]
Dsample.yaml2 name: USB HID mouse sample
7 - gpio
9 sample.usb.hid-mouse:
11 - usb_device
13 - frdm_mcxn947/mcxn947/cpu0
15 sample.usb_device_next.hid-mouse:
17 - usbd
19 - nrf52840dk/nrf52840
20 - nrf54h20dk/nrf54h20/cpuapp
21 - frdm_k64f
[all …]
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 project(hid-mouse) project
/Zephyr-latest/dts/bindings/usb/
Dzephyr,hid-device.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Bindings for HID device
6 compatible: "zephyr,hid-device"
11 interface-name:
14 HID device name. When this property is present, a USB device will use it
17 protocol-code:
21 of the HID specification. Only boot devices are required to set one of
22 the protocols, keyboard or mouse. For non-boot devices, this property is
24 - none: Device does not support the boot interface
25 - keyboard: Device supports boot interface and keyboard protocol
[all …]
/Zephyr-latest/doc/connectivity/usb/api/
Dhid.rst3 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
22 The pre-defined Mouse and Keyboard report descriptors can be used by
23 a HID device implementation or simply as examples.
/Zephyr-latest/samples/bluetooth/peripheral_hids/
DREADME.rst1 .. zephyr:code-sample:: ble_peripheral_hids
2 :name: HID Peripheral
3 :relevant-api: bt_gatt bluetooth
5 Implement a Bluetooth HID peripheral (generic mouse)
10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this
11 application specifically exposes the HID GATT Service. The report map used is
12 for a generic mouse.
32 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/include/zephyr/usb/class/
Dhid.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief USB Human Interface Device (HID) common definitions header
12 * Header follows Device Class Definition for Human Interface Devices (HID)
13 * Version 1.11 document (HID1_11-1.pdf).
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 */
[all …]
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/
Dhog.c8 * SPDX-License-Identifier: Apache-2.0
32 uint16_t version; /* version number of base USB HID Specification */
33 uint8_t code; /* country HID Device hardware is localized for. */
63 0x09, 0x02, /* Usage (Mouse) */
96 return bt_gatt_attr_read(conn, attr, buf, len, offset, attr->user_data, in read_info()
112 return bt_gatt_attr_read(conn, attr, buf, len, offset, attr->user_data, in read_report()
133 uint8_t *value = attr->user_data; in write_ctrl_point()
145 /* Require encryption using authenticated link-key. */
154 /* HID Service Declaration */
190 /* HID Report: in hog_button_loop()
/Zephyr-latest/doc/connectivity/usb/device/
Dusb_device.rst22 device requests in table 9-3 from the universal serial bus specification
42 See :zephyr:code-sample:`usb-audio-headphones-microphone` and
43 :zephyr:code-sample:`usb-audio-headset` samples for reference.
53 * HCI commands through control endpoint (host-to-device only)
67 See :zephyr:code-sample:`bluetooth_hci_usb` sample for reference.
86 ring buffer is full only if the hw-flow-control property is enabled and
87 called from a non-ISR context.
90 :dtcompatible:`zephyr,cdc-acm-uart`.
104 .. code-block:: devicetree
108 compatible = "zephyr,cdc-acm-uart";
[all …]
/Zephyr-latest/doc/connectivity/usb/device_next/
Dusb_device.rst18 high-speed device controllers are supported. It also provides support for
20 or changing the configuration later. It has built-in support for several USB
29 * :zephyr:code-sample:`usb-hid-keyboard`
31 * :zephyr:code-sample:`uac2-explicit-feedback`
33 * :zephyr:code-sample:`uac2-implicit-feedback`
36 ----------------------------------------
39 configuration ``-DCONF_FILE=usbd_next_prj.conf`` either directly or via
42 * :zephyr:code-sample:`bluetooth_hci_usb`
44 * :zephyr:code-sample:`usb-cdc-acm`
46 * :zephyr:code-sample:`usb-cdc-acm-console`
[all …]
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_hid_macros.h4 * SPDX-License-Identifier: Apache-2.0
8 * The macros in this file are not for public use, but only for HID driver
116 * keyboard or mouse boot protocol.
190 * there is an out-report-size property.
211 "out-report-size must be valid Total Packet Length"); \
213 "in-report-size must be valid Total Packet Length");
/Zephyr-latest/include/zephyr/bluetooth/
Duuid.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
31 /** UUID type 16-bit. */
33 /** UUID type 32-bit. */
35 /** UUID type 128-bit. */
39 /** Size in octets of a 16-bit UUID */
42 /** Size in octets of a 32-bit UUID */
45 /** Size in octets of a 128-bit UUID */
56 /** UUID value, 16-bit in host endianness. */
63 /** UUID value, 32-bit in host endianness. */
[all …]
Dgap.h8 * SPDX-License-Identifier: Apache-2.0
42 #define BT_DATA_UUID16_SOME 0x02 /**< 16-bit UUID, more available */
43 #define BT_DATA_UUID16_ALL 0x03 /**< 16-bit UUID, all listed */
44 #define BT_DATA_UUID32_SOME 0x04 /**< 32-bit UUID, more available */
45 #define BT_DATA_UUID32_ALL 0x05 /**< 32-bit UUID, all listed */
46 #define BT_DATA_UUID128_SOME 0x06 /**< 128-bit UUID, more available */
47 #define BT_DATA_UUID128_ALL 0x07 /**< 128-bit UUID, all listed */
52 #define BT_DATA_SIMPLE_PAIRING_HASH_C192 0x0e /**< Simple Pairing Hash C-192 */
53 #define BT_DATA_SIMPLE_PAIRING_RAND_C192 0x0f /**< Simple Pairing Randomizer R-192 */
58 #define BT_DATA_SOLICIT16 0x14 /**< Solicit UUIDs, 16-bit */
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
89 * USB HID specific macros in ``<include/usb/class/usb_hid.h>`` are deprecated
[all …]
Drelease-notes-2.3.rst18 with future support for features like 64-bit and absolute timeouts in mind
21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant
24 * The CMSIS-DSP library is now included and integrated
33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String
34 into a fixed-size array.
35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS
37 * CVE-2020-10061: Improper handling of the full-buffer case in the
39 * CVE-2020-10062: Packet length decoding error in MQTT
40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due
42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain
[all …]