- /* Check the attributes of the current item - see if we are interested in it or not */\r
- if ((CurrentItemAttributes->Usage.Page == USAGE_PAGE_BUTTON) ||\r
- (CurrentItemAttributes->Usage.Page == USAGE_PAGE_GENERIC_DCTRL))\r
- {\r
- /* Only store BUTTON and GENERIC_DESKTOP_CONTROL items into the Processed HID Report structure to save RAM */\r
- return true;\r
- }\r
- else\r
- {\r
- return false;\r
- }\r
+ /* Check the attributes of the current 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 ((CurrentItemAttributes->Usage.Page == USAGE_PAGE_BUTTON) ||\r
+ (CurrentItemAttributes->Usage.Page == USAGE_PAGE_GENERIC_DCTRL))\r