X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131..refs/heads/master:/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h diff --git a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h index f5d68be69..46a92c650 100644 --- a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h +++ b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2021. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2021 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -85,15 +85,15 @@ /* Enums: */ /** Enum for the HID report IDs used in the device. */ - enum + enum HID_ReportID_t { HID_REPORTID_MouseReport = 0x01, /**< Report ID for the Mouse report within the device. */ HID_REPORTID_KeyboardReport = 0x02, /**< Report ID for the Keyboard report within the device. */ - } HID_Report_IDs; + }; /* Function Prototypes: */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);