Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcowindt/ds4macos
DSU Server for (DualShock 4 / DualSense) controllers for MacOS. To be used with the Dolphin emulator.
https://github.com/marcowindt/ds4macos
macos swift swiftui
Last synced: 12 days ago
JSON representation
DSU Server for (DualShock 4 / DualSense) controllers for MacOS. To be used with the Dolphin emulator.
- Host: GitHub
- URL: https://github.com/marcowindt/ds4macos
- Owner: marcowindt
- License: mit
- Created: 2021-01-06T21:47:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-17T20:40:20.000Z (over 1 year ago)
- Last Synced: 2024-04-17T04:14:33.582Z (7 months ago)
- Topics: macos, swift, swiftui
- Language: Swift
- Homepage:
- Size: 2.89 MB
- Stars: 50
- Watchers: 5
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ds4macos
## Build & Run
- Make sure you have cocoapods installed
- Run `pod install`
- Open `ds4macos.xcworkspace` in Xcode (**not** `ds4macos.xcodeproj`)
- Make sure your Signing & Capabilities settings are correct, change the bundle identifier if needed
- Press run## DualShock 4 / DualSense Controllers
This application is designed to also have motion data available from DS4 controllers in the Dolphin emulator on MacOS.
If you aren't interested in using the accelerometer and gyro of DS4 controler(s) then this application is not needed,
since simple button mapping works straight away with Dolphin.Although made for DS4 controllers, it is implemented using Swift GameController library.
Thus in principle other types of controllers may work as well, but need to be compatible with MacOS already and only DS4 & DualSense controllers have been tested with this application.## Dolphin
This app is made to be used with the Dolphin emulator.
Within 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).### Controller Profile
You may use the controller profile in this repository, the left thumbstick is mapped as the WiiMote's nunchunck thumbstick.
1. If using the profile from this repository place it within the Config folder of Dolhpin:
- `/Users/username/Library/Application Support/Dolphin/Config/Profiles/Wiimote/ds4macos.ini`Otherwise, just map it yourself it's very simple.
## Credits
A lot of this application's code was made possible by looking at an existing DSU server
implementation for Joy Con controllers at https://github.com/joaorb64/joycond-cemuhook/tree/masterAlso the specification of the DSU protocol at https://v1993.github.io/cemuhook-protocol/ is of
great value## Screenshots