USB Libraries Help > USB Host Libraries > USB HID Host Mouse Driver Library > Library Interface
MPLAB Harmony USB Stack
Library Interface

This section describes the Application Programming Interface (API) functions of the USB HID Host Mouse Driver Library. 

The USB Mouse driver does not require explicit API call by the application to obtain Mouse data. The data in the appropriate format is sent to the application during an application event handler function call.

a) Mouse Access Functions
 
Name 
Description 
 
This function registers application callback function with the mouse driver. 
 
This is function _USB_HOST_HID_MOUSE_EventHandler. 
 
This is function _USB_HOST_HID_MOUSE_Task. 
b) Data Types and Constants
 
Name 
Description 
 
Defines the USB Host HID mouse data object. 
 
Defines the possible USB HOST HID mouse driver events. 
 
USB HOST mouse driver event handler function pointer type. 
 
USB HOST HID mouse driver instance handle. 
 
USB Host HID mouse driver results. 
 
USB Host HID mouse driver result minimum constant. 
 
This is macro USB_HOST_HID_MOUSE_HANDLE_INVALID.