cancel
Showing results for 
Search instead for 
Did you mean: 

USB_Host (HID_Standalone)

MSm
Associate II

Hello Everyone

I'm working with STM32F746Discovery Board.

I have a problem with "USB_Host (HID_Standalone)" project in STM32746G-Discovery folder in cubemx package.

my value of "mouse_info.x" doesn't update. all other members of _HID_MOUSE_Info structure updates but this one. mouse clicks and Y axis detect correctly.

typedef struct _HID_MOUSE_Info

{

 uint8_t             x;

 uint8_t             y;

 uint8_t             buttons[3];

}

HID_MOUSE_Info_TypeDef;

and

m_pinfo = USBH_HID_GetMouseInfo(phost);

can't work correctly.

It means I can't receive x axis motion.

How can I solve this problem? I have only one mouse (Logitech Wireless) and can't test with another mouse but this one works well with my PC.

Regards

Mohsen

0693W000001qAbAQAU.jpg

0693W000001qAbKQAU.jpg

0 REPLIES 0