{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterM/hakchi2/issues/180","repository_url":"https://api.github.com/repos/ClusterM/hakchi2","labels_url":"https://api.github.com/repos/ClusterM/hakchi2/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/ClusterM/hakchi2/issues/180/comments","events_url":"https://api.github.com/repos/ClusterM/hakchi2/issues/180/events","html_url":"https://github.com/ClusterM/hakchi2/issues/180","id":210334120,"number":180,"title":"3rd Party Wii Classic Controllers - Possible Fix","user":{"login":"jonholifield","id":22118504,"avatar_url":"https://avatars1.githubusercontent.com/u/22118504?v=4","gravatar_id":"","url":"https://api.github.com/users/jonholifield","html_url":"https://github.com/jonholifield","followers_url":"https://api.github.com/users/jonholifield/followers","following_url":"https://api.github.com/users/jonholifield/following{/other_user}","gists_url":"https://api.github.com/users/jonholifield/gists{/gist_id}","starred_url":"https://api.github.com/users/jonholifield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonholifield/subscriptions","organizations_url":"https://api.github.com/users/jonholifield/orgs","repos_url":"https://api.github.com/users/jonholifield/repos","events_url":"https://api.github.com/users/jonholifield/events{/privacy}","received_events_url":"https://api.github.com/users/jonholifield/received_events","type":"User","site_admin":false},"labels":[{"id":513547371,"url":"https://api.github.com/repos/ClusterM/hakchi2/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":564915933,"url":"https://api.github.com/repos/ClusterM/hakchi2/labels/testing%20required","name":"testing required","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"ClusterM","id":4236181,"avatar_url":"https://avatars3.githubusercontent.com/u/4236181?v=4","gravatar_id":"","url":"https://api.github.com/users/ClusterM","html_url":"https://github.com/ClusterM","followers_url":"https://api.github.com/users/ClusterM/followers","following_url":"https://api.github.com/users/ClusterM/following{/other_user}","gists_url":"https://api.github.com/users/ClusterM/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterM/subscriptions","organizations_url":"https://api.github.com/users/ClusterM/orgs","repos_url":"https://api.github.com/users/ClusterM/repos","events_url":"https://api.github.com/users/ClusterM/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterM/received_events","type":"User","site_admin":false},"assignees":[{"login":"ClusterM","id":4236181,"avatar_url":"https://avatars3.githubusercontent.com/u/4236181?v=4","gravatar_id":"","url":"https://api.github.com/users/ClusterM","html_url":"https://github.com/ClusterM","followers_url":"https://api.github.com/users/ClusterM/followers","following_url":"https://api.github.com/users/ClusterM/following{/other_user}","gists_url":"https://api.github.com/users/ClusterM/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterM/subscriptions","organizations_url":"https://api.github.com/users/ClusterM/orgs","repos_url":"https://api.github.com/users/ClusterM/repos","events_url":"https://api.github.com/users/ClusterM/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterM/received_events","type":"User","site_admin":false}],"milestone":null,"comments":65,"created_at":"2017-02-26T17:39:39Z","updated_at":"2017-07-26T22:50:57Z","closed_at":null,"body":"Many third-party controllers do not work with the NES Classic but work with the Wii Virtual Console\r\n\r\nI believe that commenting out the check in clovercon.c will enable these controllers\r\nin clovercon.c these lines can be commented out\r\n\r\n332  if (con_info_data[5] != 1) {\r\n333\t\tERR(\"unsupported controller id %i\", (int)con_info_data[5]);\r\n334\t\tret = -EIO;\r\n335\t\tgoto err;\r\n336   }\r\n\r\nThere is a possibility that the following check will need to commented out as well and the default case moved up.\r\n\r\n603 switch(id->driver_data) {\r\n604 case CLASSIC_ID:\r\n605         DBG(\"probing classic controller\");\r\n606         break;\r\n607 default:\r\n608\t        ERR(\"unknown id: %lu\\n\", id->driver_data);\r\n609   \treturn -EINVAL;\r\n\r\nto\r\n\r\n604\tswitch (id->driver_data) {\r\n605\tcase CLASSIC_ID:\r\n606\tdefault:\r\n607\t\tDBG(\"probing classic controller\");\r\n608\t\tbreak;\r\n609\t//default:\r\n610\t//\tERR(\"unknown id: %lu\\n\", id->driver_data);\r\n611\t//\treturn -EINVAL;\r\n612\t}\r\n\r\nI do not have the environment set up to rebuild the clovercon.ko file but would be happy to test my theory if it could be build for me. \r\n\r\nThanks,\r\n"},"comment":{"url":"https://api.github.com/repos/ClusterM/hakchi2/issues/comments/318205658","html_url":"https://github.com/ClusterM/hakchi2/issues/180#issuecomment-318205658","issue_url":"https://api.github.com/repos/ClusterM/hakchi2/issues/180","id":318205658,"user":{"login":"ClusterM","id":4236181,"avatar_url":"https://avatars3.githubusercontent.com/u/4236181?v=4","gravatar_id":"","url":"https://api.github.com/users/ClusterM","html_url":"https://github.com/ClusterM","followers_url":"https://api.github.com/users/ClusterM/followers","following_url":"https://api.github.com/users/ClusterM/following{/other_user}","gists_url":"https://api.github.com/users/ClusterM/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterM/subscriptions","organizations_url":"https://api.github.com/users/ClusterM/orgs","repos_url":"https://api.github.com/users/ClusterM/repos","events_url":"https://api.github.com/users/ClusterM/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterM/received_events","type":"User","site_admin":false},"created_at":"2017-07-26T22:50:57Z","updated_at":"2017-07-26T22:50:57Z","body":"@dami08 error -70 is hardware problem :("}}
{"actor":{"display_login":"ClusterM"}}