Releases: dmadison/NintendoExtensionCtrl
Version 0.6.1
Bugfixes:
- Fixes ambiguous call error for
getControlData()
when used with a combined controller class.
Version 0.6.0
User-Facing Changes:
- Now supports control data request sizes up to 21 bytes! Use
setRequestSize
to change the length. getConnectedID
has been renamed togetControllerType
, which better follows the enumeration conventions and is hopefully is easier to remember.- Removed
identifyController
function, as it did not work without first initializing the controller. To get the controller's type, first useconnect
followed bygetControllerType
.
Bugfixes:
- Extension controller data is now reset on connection rather than reconnection.
- Fixed switch warning in
IdentifyController
example sketch.
Version 0.5.5
Lower level I²C functions have been reworked from a class scope to a namespace-scope. Also adds Travis CI support for the repo.
Version 0.5.4
Fixes a compilation bug related to the constant expression maps that broke support for Teensy boards (#29).
Version 0.5.3
First public release! Updated the library documentation.
Version 0.5.2
Backend change to handle all control data transformations using constant expression structs. This will make it easier to define new controllers and work with data transformations in the library.
Version 0.5.1
Small update to change the debug print functions to use the base Print
class rather than the derived Stream
class, and to fix the library.properties
version number.
Version 0.5.0
This is a significant release that overhauls how data is handled within the library.
Major Changes:
- No more dynamic allocation! Avoiding runtime allocation makes things more robust and saves over 1000 bytes of flash memory.
- Separated controller data! Separate classes now exist for reading control data as the different controller types. This makes it easier to support multiple controllers in one program and saves memory.
- No more ExtensionData. With no dynamic allocation and with separate controller-specific classes to read from the control data, the
ExtensionData
class is no longer needed and has been removed. - All enumerations are now scoped! Enumerations for the controller types, drum set velocity IDs, and turntable controller configurations are now scoped. These names should now be clearer and easier to use.
User-Facing Changes:
- Removed the "
getControlBit
" function and "enforceID
" setting from the public API. These are handled in the background. - Removed controller-specific headers from public API. You must import the
NintendoExtensionCtrl.h
header to use any controller.
Bugfixes:
- Fixes initialization if a controller was last set to use encrypted communications.
Version 0.4.3
User-Facing Changes:
- Controllers no longer auto-connect when
begin
is called, so that the bus can be quickly initialized without a controller attached. Theconnect
function must be called separately.
Bugfixes:
- Fixes support for multiple I2C buses, which has apparently been broken since 0.4.0.
- Fixes accelerometer precision for the Nunchuk X and Z axes.
Version 0.4.2
This release adds support for the S/NES mini controllers! These function the same as the Classic Controller and extend that functionality.
This also fixes memory leak issues if repeatedly creating and destroying controller objects.