Lines Matching +full:plug +full:- +full:in

1 .. zephyr:code-sample:: usb-hid-mouse
3 :relevant-api: _usb_device_core_api usb_hid_device_api input_interface
13 the number of buttons on the board) a right mouse button, X-axis movement,
14 and Y-axis movement.
16 will be performed on every button click if the bus is in suspended state.
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
28 The key mapping in the sample is as follows:
30 - ``INPUT_KEY_0``: left button
31 - ``INPUT_KEY_1``: right button
32 - ``INPUT_KEY_2``: move the mouse along the x-axis
33 - ``INPUT_KEY_3``: move the mouse along the y-axis
38 .. code-block:: none
45 This sample can be built for multiple boards, in this example we will build it
48 .. zephyr-app-commands::
49 :zephyr-app: samples/subsys/usb/hid-mouse
54 After you have built and flashed the sample app image to your board, plug the
58 .. code-block:: console
60 dmesg | tail -10
61 usb 2-2: new full-speed USB device number 2 using at91_ohci
62 usb 2-2: New USB device found, idVendor=2fe3, idProduct=0007, bcdDevice= 2.03
63 usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
64 usb 2-2: Product: Zephyr HID mouse sample
65 usb 2-2: Manufacturer: ZEPHYR
66 usb 2-2: SerialNumber: 86FE679A598AC47A
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…
76 .. code-block:: console
101 .. code-block:: console
105 Event: time 1167609663.618515, -------------- SYN_REPORT ------------
108 Event: time 1167609663.730510, -------------- SYN_REPORT ------------
111 X-axis movement, and Y-axis movement.