added basic support for some PDP Rock Candy Wiimotes

This commit is contained in:
demik 2024-08-22 20:02:50 +02:00
parent 416973176e
commit 66ee6a28fa
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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}
};