Hi,All:
How to Send a mouse wheel scroll data by USB generic example in SDK 16?
Hi,All:
How to Send a mouse wheel scroll data by USB generic example in SDK 16?
Try using app_usbd_hid_mouse_scroll_move().
Best regards,
Kenneth
But when I read the source code,I found the method in the usb generic example is far from your advice. Is there any complete USB hid mouse example? Infact, When I read more,I feel more confused about the SDK. Or is there something like mind mapping for usb/usb mouse/usb keyboard?..........En.....,Return to this case,now when dealing with the mouse's action,it calls fuction hid_generic_mouse_action() in the generic example,but in the fuction,There is any thing about wheel scroll.Could you help to add the wheel scroll evt to the function or another function?
But when I read the source code,I found the method in the usb generic example is far from your advice. Is there any complete USB hid mouse example? Infact, When I read more,I feel more confused about the SDK. Or is there something like mind mapping for usb/usb mouse/usb keyboard?..........En.....,Return to this case,now when dealing with the mouse's action,it calls fuction hid_generic_mouse_action() in the generic example,but in the fuction,There is any thing about wheel scroll.Could you help to add the wheel scroll evt to the function or another function?
I suggest to look at the USB HID composite example instead, I hope that one may be easier to understand.
The documentation for the USB library can also be useful.
Thank you for your reply! Pls close this topic.