31.2.8.2.3. USBX device hid mouse
31.2.8.2.3.1. Overview
The example implements a hid mouse device.
31.2.8.2.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
31.2.8.2.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