In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
468 bytes added ,  15:38, 11 October 2021
Add structure for →‎0x0a - Set btConfig
Line 18: Line 18:  
===0x09 - BT Disconnect===
 
===0x09 - BT Disconnect===
 
===0x0a - Set btConfig===
 
===0x0a - Set btConfig===
 +
Sends the following 0x10 byte structure:
 +
<syntaxhighlight lang="C">
 +
typedef struct {
 +
    uint32_t wbc_enabled; // enable / disable Wii Balance Board communication
 +
    uint32_t urrc_enabled; // enable / disable Wii U Pro Controller communication
 +
    uint32_t wii_remote_enabled; // enable / disable Wii Remote communication
 +
    uint8_t max_controllers; // the maximum amount of controllers that can be connected
 +
    uint8_t padding[3];
 +
} btConfig_t;
 +
</syntaxhighlight>
    
==ioctlv() interface==
 
==ioctlv() interface==

Navigation menu