{"id":17720395,"url":"https://github.com/marcowindt/ds4macos","last_synced_at":"2025-03-14T04:31:03.062Z","repository":{"id":44818548,"uuid":"327436360","full_name":"marcowindt/ds4macos","owner":"marcowindt","description":"DSU Server for (DualShock 4 / DualSense) controllers for MacOS. To be used with the Dolphin emulator.","archived":false,"fork":false,"pushed_at":"2023-06-17T20:40:20.000Z","size":3031,"stargazers_count":50,"open_issues_count":9,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-17T04:14:33.582Z","etag":null,"topics":["macos","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcowindt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2021-01-06T21:47:13.000Z","updated_at":"2024-03-28T01:20:16.000Z","dependencies_parsed_at":"2024-10-26T01:27:24.696Z","dependency_job_id":null,"html_url":"https://github.com/marcowindt/ds4macos","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcowindt%2Fds4macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcowindt%2Fds4macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcowindt%2Fds4macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcowindt%2Fds4macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcowindt","download_url":"https://codeload.github.com/marcowindt/ds4macos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526451,"owners_count":20305108,"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":["macos","swift","swiftui"],"created_at":"2024-10-25T15:26:47.387Z","updated_at":"2025-03-14T04:30:58.051Z","avatar_url":"https://github.com/marcowindt.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# ds4macos\n\n## Build \u0026 Run\n\n- Make sure you have cocoapods installed\n- Run `pod install`\n- Open `ds4macos.xcworkspace` in Xcode (**not** `ds4macos.xcodeproj`)\n- Make sure your Signing \u0026 Capabilities settings are correct, change the bundle identifier if needed\n- Press run\n\n## DualShock 4 / DualSense Controllers\n\nThis application is designed to also have motion data available from DS4 controllers in the Dolphin emulator on MacOS.\nIf you aren't interested in using the accelerometer and gyro of DS4 controler(s) then this application is not needed, \nsince simple button mapping works straight away with Dolphin.\n\nAlthough made for DS4 controllers, it is implemented using Swift GameController library.\nThus in principle other types of controllers may work as well, but need to be compatible with MacOS already and only DS4 \u0026 DualSense controllers have been tested with this application.\n\n## Dolphin\n\nThis app is made to be used with the Dolphin emulator. \nWithin Dolphin you go to alternative input devices and setup the DSU client to listen to the server running on your computer with port 26760 (you can find your ip address by running something like `ifconfig` in a Terminal).\n\n### Controller Profile\n\nYou may use the controller profile in this repository, the left thumbstick is mapped as the WiiMote's nunchunck thumbstick.\n\n1. If using the profile from this repository place it within the Config folder of Dolhpin:\n\t- `/Users/username/Library/Application Support/Dolphin/Config/Profiles/Wiimote/ds4macos.ini`\n\nOtherwise, just map it yourself it's very simple.\n\n## Credits\n\nA lot of this application's code was made possible by looking at an existing DSU server\nimplementation for Joy Con controllers at https://github.com/joaorb64/joycond-cemuhook/tree/master\n\nAlso the specification of the DSU protocol at https://v1993.github.io/cemuhook-protocol/ is of\ngreat value\n\n## Screenshots\n\n\u003cimg src=\"https://github.com/marcowindt/ds4macos/blob/main/screenshot1.png\" alt=\"Screenshot of the application info view\"/\u003e\n\u003cimg src=\"https://github.com/marcowindt/ds4macos/blob/main/screenshot2.png\" alt=\"Screenshot of the server settings\"/\u003e\n\u003cimg src=\"https://github.com/marcowindt/ds4macos/blob/main/screenshot3.png\" alt=\"Screenshot of the general settings\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcowindt%2Fds4macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcowindt%2Fds4macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcowindt%2Fds4macos/lists"}