forked from OpenStickCommunity/GP2040-CE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wii addon refactor and button/analog mapping support (OpenStickCommun…
…ity#501) * Added improved Wii extension detection. Added GHWT touch fret support. Added initial Wii extension hot plugging support. Fixed issue with detecting GHWT guitars. Fixed issue with guitar analog values. * Refactor of WiiExtension library to better separate controller contexts. * Added analog calibration. If controller does not have stored calibration, default is used (implemented per-controller). Verifies calibration checksum to determine which is used. * Adjust default analog calibration when data is unavailable on the device. Fixed issue where adjusted input values would overflow after calibration. * Added default calibration for Drums and Turntable extensions since no calibration exists on device. Implemented default button mapping config in prep for web-config mapping options. * Moved WiiExtensionController enum to a type. * Added toggle state for DJ Hero Euphoria button LED. * Refactored polling logic to allow for options on boot * Refactor of Wii addon to include button and analog mapping. Included separation of Wii addon-specific L10n strings to Locales/en/Addons/WiiAddon.jsx * Fixed issue causing Classic Pro-based controllers from functioning. Updated documentation to remove Wii controller mapping details and add new image. * Fixes unintentional tabs and moved unneeded debug variables behind WII_EXTENSION_DEBUG * Minor view refactors on input selectors * Fixed key warnings
- Loading branch information
1 parent
610ce65
commit dca1fdd
Showing
32 changed files
with
2,716 additions
and
886 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
add_library(WiiExtension WiiExtension.cpp) | ||
target_link_libraries(WiiExtension PUBLIC BitBang_I2C) | ||
target_include_directories(WiiExtension INTERFACE .) | ||
target_include_directories(WiiExtension PUBLIC | ||
BitBang_I2C | ||
add_library(WiiExtension | ||
WiiExtension.cpp | ||
extensions/ExtensionBase.cpp | ||
extensions/ClassicExtension.cpp | ||
extensions/DrumExtension.cpp | ||
extensions/GuitarExtension.cpp | ||
extensions/NunchuckExtension.cpp | ||
extensions/TaikoExtension.cpp | ||
extensions/TurntableExtension.cpp | ||
) | ||
target_link_libraries(WiiExtension PUBLIC pico_stdlib hardware_i2c) | ||
target_include_directories(WiiExtension INTERFACE .) | ||
target_include_directories(WiiExtension PUBLIC .) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# WiiExtension | ||
# Ported to BitBangI2C | ||
# | ||
# Written by: | ||
# Mike Parks | ||
|
Oops, something went wrong.