X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3038ea1c6ea8cbc1a0a61ea1674b6c097b6b006d..d4b45e8502a27c0f5ad3e26eabd2b30e84c20bac:/LUFA/DoxygenPages/MigrationInformation.txt diff --git a/LUFA/DoxygenPages/MigrationInformation.txt b/LUFA/DoxygenPages/MigrationInformation.txt index 03acf50d5..93082bb5c 100644 --- a/LUFA/DoxygenPages/MigrationInformation.txt +++ b/LUFA/DoxygenPages/MigrationInformation.txt @@ -10,7 +10,19 @@ * to the next version released. It does not indicate all new additions to the library in each version change, only * areas relevant to making older projects compatible with the API changes of each new release. * - * \section Sec_MigrationXXXXXX Migrating from 111009 to XXXXXX + * \section Sec_MigrationXXXXXX Migrating from 120219 to XXXXXX + * Device Mode + * - The device mode Audio Class driver now requires an additional configuration parameter, the Audio Control interface index. Existing applications should + * be adjusted to specify the additional configuration parameter. + * - The HID_DESCRIPTOR_JOYSTICK() macro no longer takes a variable number of axis as a parameter, due to OS incompatibilities; this macro now uses a fixed + * 3 axis of data. User applications should update their calls to this macro and their report structures to suit a fixed 3-axis joystick report. If a user + * application requires more than 3 axis' of data, a custom report descriptor will need to be constructed by hand. + * + * Host Mode + * - The Android Accessory Host class driver property strings are now a array of \c char* rather than a struct of named pointers. Existing applications + * should use C99 Designated Initializers with the property string indexes located in \ref AOA_Strings_t instead. + * + * \section Sec_Migration120219 Migrating from 111009 to 120219 * USB Core * - The HID_KEYBOARD_MODIFER_* macros in the HID class driver have been corrected to HID_KEYBOARD_MODIFIER_* (note the spelling of "modifier"). * Existing applications should switch over to the correctly spelled macro names. @@ -22,6 +34,11 @@ * the Configuration descriptor's attributes field. As all devices are assumed to be bus-powered unless stated otherwise with the * USB_CONFIG_ATTR_SELFPOWERED flag a replacement constant for bus powered devices is not provided. * + * Device Mode + * - The device mode Audio class driver now requires a new user application callback, \ref CALLBACK_Audio_Device_GetSetInterfaceProperty(). + * Existing applications must implement this new callback, however if no audio entities are defined in the audio device's descriptors, + * this function may be hard-coded to always return false for previous behaviour to be retained. + * * \section Sec_Migration111009 Migrating from 110528 to 111009 * Non-USB Library Components * - The \c JTAG_DEBUG_ASSERT() macro has been renamed \ref JTAG_ASSERT() to be consistent with \ref STDOUT_ASSERT().