Rename PDIProtocol.c/.h to XPROGProtocol.c/.h as it will now handle both TPI and...
[pub/USBasp.git] / Demos / Host / LowLevel / MouseHost / MouseHost.h
index 1abd560..207ac0c 100644 (file)
                \r
        /* Macros: */\r
                /** Pipe number for the mouse data IN pipe */\r
-               #define MOUSE_DATAPIPE              1\r
+               #define MOUSE_DATAPIPE            1\r
                \r
                /** HID Class Specific request to set the report protocol mode */\r
-               #define REQ_SetProtocol             0x0B\r
+               #define REQ_SetProtocol           0x0B\r
 \r
                /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */\r
                #define LEDMASK_USB_NOTREADY      LEDS_LED1\r
                        int8_t  X; /**< Current delta X movement of the mouse */\r
                        int8_t  Y; /**< Current delta Y movement on the mouse */\r
                } USB_MouseReport_Data_t;\r
-\r
+               \r
        /* Function Prototypes: */\r
                void Mouse_HID_Task(void);\r
                void SetupHardware(void);\r
                \r
-               void EVENT_USB_HostError(const uint8_t ErrorCode);\r
-               void EVENT_USB_DeviceAttached(void);\r
-               void EVENT_USB_DeviceUnattached(void);\r
-               void EVENT_USB_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);\r
-               void EVENT_USB_DeviceEnumerationComplete(void);\r
+               void EVENT_USB_Host_HostError(const uint8_t ErrorCode);\r
+               void EVENT_USB_Host_DeviceAttached(void);\r
+               void EVENT_USB_Host_DeviceUnattached(void);\r
+               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);\r
+               void EVENT_USB_Host_DeviceEnumerationComplete(void);\r
 \r
                void ReadNextReport(void);\r
                \r