mirror of
https://github.com/demik/quack.git
synced 2024-12-21 14:29:22 +00:00
added basic support for some PDP Rock Candy Wiimotes
This commit is contained in:
parent
416973176e
commit
66ee6a28fa
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user