I think that's fine. The only thing I would suggest double-checking is what happens when it's used with an "active" wii motion plus in passthrough mode (see http://wiibrew.org/wiki/Wiimote/Extensi ... rough_mode) but I don't know of any games using that mode anyway since it's not practical to hold a wiimote+ and controller at the same time.raphnet wrote:I like that, it is much simpler than implementing a special mode. So how about the following structure?
Code: Select all
/* | Bit | * Byte | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | * ------+---------------+-------+----------------------------+ * 0 | RX<4:3> | LX<5:0> | * 1 | RX<2:1> | LY<5:0> | * 2 | RX<0> | LT<4:3> | RY<4:0> | * 3 | LT<2:0> | RT<4:0> | * 4 | BDR | BDD | BLT | B- | BH | B+ | BRT | 1 | * 5 | BZL | BB | BY | BA | BX | BZR | BDL | BDU | * 6 | GC Left stick/N64 stick raw X value | * 7 | GC Left stick/N64 stick raw Y value | * 8 | GC C-stick raw X value | * 9 | GC C-stick raw Y value | * 10 | GC Left shoulder raw X value | * 11 | GC Right shoulder raw Y value | * 12 | 0x52 ('R') | * 13 | 0x4E ('N') | * 14 | 0x54 ('T') */
About rumble, afaik the GC pad's motor is designed to run off 5V rather than 3.3V supplied by the wiimote. Some people have told me that's still enough to make it work but I would be worried about it pulling too much current and killing the wiimote. However if you still want rumble functionality (maybe add a 9V battery option to the adapter) I could add code to control rumble by writing a byte somewhere in the extension memory (similar to how the encryption is configured).