diff --git a/ChangeLog.md b/ChangeLog.md index 89fb0bd..247c4f7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,11 @@ +## v1.4.9 (pre) +- added basic support for some PDP Rock Candy Wiimotes + - BDAs starting from the range 08:03:64 + - remote doesn't reconnect correctly, have to repair each time + ## v1.4.8 - added support for MacAlly Joystick -- added support for Wiimotes +- added support for Nintendo Wiimotes - D-pad movement working, click on B, half-click on A - selectable movement speed on the Weemote + LED feedback - this lay the framework to add drivers for some unsupported devices diff --git a/main/wii.c b/main/wii.c index a06b34d..40b6bc9 100644 --- a/main/wii.c +++ b/main/wii.c @@ -666,7 +666,7 @@ bool wii_is_nintendo_bda(esp_bd_addr_t bda) { /* known "Nintendo Co., Ltd." BDA prefixes as of 08/2024 */ const esp_bd_addr_t nintendo_bda_list[] = { - {0x00, 0x09, 0xbf, 0x00, 0x00, 0x00}, + {0x00, 0x09, 0xbf, 0x00, 0x00, 0x00}, /* Start of Nintendo BDAs */ {0x00, 0x16, 0x56, 0x00, 0x00, 0x00}, {0x00, 0x17, 0xab, 0x00, 0x00, 0x00}, {0x00, 0x19, 0x1d, 0x00, 0x00, 0x00}, @@ -712,7 +712,8 @@ bool wii_is_nintendo_bda(esp_bd_addr_t bda) { {0xd8, 0x6b, 0xf7, 0x00, 0x00, 0x00}, {0xe0, 0x0c, 0x7f, 0x00, 0x00, 0x00}, {0xe0, 0xe7, 0x51, 0x00, 0x00, 0x00}, - {0xe8, 0x4e, 0xce, 0x00, 0x00, 0x00}, + {0xe8, 0x4e, 0xce, 0x00, 0x00, 0x00}, /* End of Nintendo BDAs */ + {0x08, 0x03, 0x64, 0x00, 0x00, 0x00}, /* PDP Rock Candy compatible Wiimotes */ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }; @@ -865,4 +866,4 @@ void wii_show_calibration(uint8_t *data) { ESP_LOGD(TAG, "\t… checksum read: %02X, calculated: %02X", data[9], checksum); if (data[9] != checksum) xTaskNotify(t_red, LED_ONCE, eSetValueWithOverwrite); -} \ No newline at end of file +}