discoverpixy
usbh_hid_mouse.h
Go to the documentation of this file.
1 
23 /* Define to prevent recursive ----------------------------------------------*/
24 #ifndef __USBH_HID_MOUSE_H
25 #define __USBH_HID_MOUSE_H
26 
27 /* Includes ------------------------------------------------------------------*/
28 #include "usbh_hid_core.h"
29 
51 typedef struct _HID_MOUSE_Data
52 {
53  uint8_t x;
54  uint8_t y;
55  uint8_t z; /* Not Supported */
56  uint8_t button;
57 }
59 
82 extern HID_cb_TypeDef HID_MOUSE_cb;
83 extern HID_MOUSE_Data_TypeDef HID_MOUSE_Data;
91 void USR_MOUSE_Init (void);
92 void USR_MOUSE_ProcessData (HID_MOUSE_Data_TypeDef *data);
97 #endif /* __USBH_HID_MOUSE_H */
98 
114 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
Definition: usbh_hid_core.h:80
This file contains all the prototypes for the usbh_hid_core.c.
Definition: usbh_hid_mouse.h:51