23.2.7.1.3. USBX device hid mouse
23.2.7.1.3.1. Overview
The example implements a hid mouse device.
23.2.7.1.3.2. Board Setting
Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable
Connect a USB port on PC to one of USB port on the development board with a USB Type-C cable
23.2.7.1.3.3. Running the example
When the example runs successfully, the mouse will move in a rectangle, following message is displayed in the terminal:
USBX device HID Mouse example
ux_device_stack_initialize
HID device activate
USB device is CONFIGURED
ux_device_class_hid_event_set success
ux_device_class_hid_event_set success
ux_device_class_hid_event_set success
ux_device_class_hid_event_set success
ux_device_class_hid_event_set success