Changes

Jump to navigation Jump to search
Some useful info about protocol
can't input this decently on the page, so will just add as a note here:
with nothing else happening (no clue if there's a way to control it via the protocol) voltage on the connector is 3.2VDC <small>—Preceding unsigned comment added by [[User:Gcb|Gcb]] ([[User talk:Gcb|talk]] • [[Special:Contributions/Gcb|contribs]]) 05:20, 27 May 2012 (CEST</small>
 
== More info about protocol ==
Nintendo's code of their controller driver for NES/SNES Classic is open source: https://www.nintendo.co.jp/support/oss/index.html
 
So seems like only byte at address 0xFF is code of accessory type and byte at 0xFE is '''data format'''. And it's possible to select data format since address 0xFE is '''writable''' on some controllers. So nunchak supports only data format 0x00 and classic controller supports data formats 0x01 (described on this wiki), 0x02 and 0x03. NES/SNES Classic uses 0x03. Many early 3rd party classic controller clones supports only 0x01, that's why they are not supported on NES/SNES classic without driver modification.
 
There is source code of my modified driver that only tries to change data format to 0x03 and supports both 0x01 and 0x03:
https://github.com/ClusterM/hakchi2/blob/stable/clovercon/clovercon.c
 
There is source code of my device which imitates classic controller:
https://github.com/ClusterM/nes2wii
--[[User:Cluster|Cluster]] ([[User talk:Cluster|talk]]) 18:56, 22 September 2018 (CEST)
1

edit

Navigation menu