Add the following dependency to your Package.swift:
.package(url: "https://github.com/sersoft-gmbh/device-input.git", from: "8.0.0"),- For Swift as of version 5.3, use DeviceInput version 4.x.y.
- For Swift as of version 5.5, use DeviceInput version 5.x.y.
- For Swift as of version 5.6, use DeviceInput version 6.x.y.
- For Swift as of version 5.9, use DeviceInput version 7.x.y.
- For Swift as of version 6.0, use DeviceInput version 8.x.y.
The API is documented using header doc. If you prefer to view the documentation as a webpage, there is an online version available for you.
If you find a bug / like to see a new feature in DeviceInput there are a few ways of helping out:
- If you can fix the bug / implement the feature yourself please do and open a PR.
- If you know how to code (which you probably do), please add a (failing) test and open a PR. We'll try to get your test green ASAP.
- If you can do neither, then open an issue. While this might be the easiest way, it will likely take the longest for the bug to be fixed / feature to be implemented.
See LICENSE file.