{"id":13662676,"url":"https://github.com/destiny5420/nintendo-joycon-patch","last_synced_at":"2025-04-25T10:33:08.471Z","repository":{"id":67812366,"uuid":"192045634","full_name":"destiny5420/nintendo-joycon-patch","owner":"destiny5420","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-25T16:45:22.000Z","size":1524,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T10:02:38.626Z","etag":null,"topics":["joycon","nintendo-switch","unity3d"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/destiny5420.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-06-15T06:35:30.000Z","updated_at":"2024-01-09T19:50:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"92f9489c-4feb-44c2-a555-78427326e5a1","html_url":"https://github.com/destiny5420/nintendo-joycon-patch","commit_stats":null,"previous_names":["destiny5420/nintendojoyconpatch"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destiny5420%2Fnintendo-joycon-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destiny5420%2Fnintendo-joycon-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destiny5420%2Fnintendo-joycon-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destiny5420%2Fnintendo-joycon-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/destiny5420","download_url":"https://codeload.github.com/destiny5420/nintendo-joycon-patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250798420,"owners_count":21489074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["joycon","nintendo-switch","unity3d"],"created_at":"2024-08-02T05:02:05.023Z","updated_at":"2025-04-25T10:33:08.451Z","avatar_url":"https://github.com/destiny5420.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# Nintendo Joycon Patch\nThe repository is custom tool that can help developer pair Nintendo joy-con easily. If you would like to use this tool, selecting latest version at tag.\n## How to use this tool\n* Import `Tool.unitypackage` to your unity project, and your unity must support .NET Framework 3.5. You can set `Scripting Runtime Version` to change .NET version in configuration of playersettings.\n\u003cp align=\"left\"\u003e\n\u003cimg style=\"margin:auto;\"  src=\"https://github.com/destiny5420/NintendoJoyconPatch/blob/develop/ReadMeSource/ToolUnityPackage.png\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n* You can seet that `InputSetting` and `Plugin` folder appear in the project.\n\u003cp align=\"left\"\u003e\n\u003cimg style=\"margin:auto;\"  src=\"https://github.com/destiny5420/NintendoJoyconPatch/blob/develop/ReadMeSource/Import_Unity_Package.png\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n* Open Project Settings panel in the edit menu and select Input option. Then left click in preset button on upper right corner.\n\u003cp align=\"left\"\u003e\n\u003cimg style=\"margin:auto;\"  src=\"https://github.com/destiny5420/NintendoJoyconPatch/blob/develop/ReadMeSource/Preset.png\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n* Select `NintendoInputManagerAssets`, Input axes will become a custom setting for up to 4 player.\n\u003cp align=\"left\"\u003e\n\u003cimg style=\"margin:auto;\"  src=\"https://github.com/destiny5420/NintendoJoyconPatch/blob/develop/ReadMeSource/Seletc_NintendoInputManagerAssets.png\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n## NintendoJoyconManager\n`class in PaperGmaeStudio.Controller`\n\n\u003cbr\u003e\n\n* First, you must use `NintendoJoyconManager.Init()` in scripts to initialize the nintendojoycon manager. NintendoJoyconManager will automatically generate on the scene.\n```C#\nusing UnityEngine;\nusing PaperGmaeStudio.Controller;\n\npublic class NewBehaviourScript : MonoBehaviour\n{\n    void Start()\n    {\n        NintendoJoyconManager.Init();\n    }\n}\n```\n\u003cp align=\"left\"\u003e\n\u003cimg style=\"margin:auto;\"  src=\"https://github.com/destiny5420/NintendoJoyconPatch/blob/develop/ReadMeSource/NintendoJoyconManagerInit.png\"\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n* You need to register callback with manager if you want to capture the button event.\n```C#\nusing UnityEngine;\nusing PaperGmaeStudio.Controller;\n\npublic class DemoScript : MonoBehaviour\n{\n    void Start()\n    {\n        NintendoJoyconManager.Init();\n        NintendoJoyconManager.RegistCallback(NintendoJoyconManager.NINTENDO_KEY_TYPE.Player01_A, OnClick_A_01);\n    }\n\n    void OnClick_A_01(float v_value)\n    {\n        Debug.Log(\"OnClick_A_01 / value: \" + v_value);\n    }\n}\n```\n\u003cbr\u003e\n\n## NINTENDO_KEY_TYPE\nThis tool have support for the following button events.\n\n\u003cp align=\"left\"\u003e\n\u003cimg style=\"margin:auto;\"  src=\"https://github.com/destiny5420/NintendoJoyconPatch/blob/develop/ReadMeSource/NintendoJoyconRef.png\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestiny5420%2Fnintendo-joycon-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdestiny5420%2Fnintendo-joycon-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestiny5420%2Fnintendo-joycon-patch/lists"}