Changes

Jump to navigation Jump to search
137 bytes added ,  23:23, 26 April 2019
Line 634: Line 634:  
Takes two input u32s for the colors, an input u64 '''UniquePadId''', and no output.
 
Takes two input u32s for the colors, an input u64 '''UniquePadId''', and no output.
   −
Sends the spi-write subcommand to the specified controller, for writing the [[Joy-Con#Colors|color data]].
+
Sends the spi-write subcommand to the specified controller, for writing the [[Joy-Con#Colors|color data]]. This writes to offset 0x6050 size 0x6, where the first 3-bytes are from the first u32 and the remaining 3-bytes are from the second u32.
    
= hid:sys =
 
= hid:sys =

Navigation menu