+\r
+ /* If a collection with the mouse usage was not found, indicate that we are not interested in this item */\r
+ if (!IsMouse)\r
+ return false;\r
+ \r
+ /* Check the attributes of the current mouse item - see if we are interested in it or not;\r
+ * only store BUTTON and GENERIC_DESKTOP_CONTROL items into the Processed HID Report\r
+ * structure to save RAM and ignore the rest\r
+ */\r
+ return ((CurrentItem->Attributes.Usage.Page == USAGE_PAGE_BUTTON) ||\r
+ (CurrentItem->Attributes.Usage.Page == USAGE_PAGE_GENERIC_DCTRL));\r