An add-on for the Unity InputSystem package that provides mappings and classes for Rock Band and Guitar Hero peripherals.
This project is a companion to the PlasticBand repository. Documentation on how to interface with the peripherals in a general, non-Unity context can be found there.
This package has no dependencies, however I highly recommend installing the HIDrogen package in addition to this one, as it helps provide additional controller support that Unity does not provide on its own.
For more package details, such as usage notes and supported devices, refer to the inner package README.
Refer to the OpenUPM documentation:
The OpenUPM package page is located here.
See the Unity documentation for full details.
- Download the .tgz file from the latest release.
- Open the Unity Package Manager and hit the + button, then pick
Add package from tarball
. - Select the downloaded .tgz file in the file prompt.
To update, repeat with the new .tgz.
See the Unity documentation for full details.
- Open the Unity Package Manager and hit the + button, then select
Add package from git URL
. - Paste in
https://github.com/TheNathannator/PlasticBand-Unity.git?path=/Packages/com.thenathannator.plasticband#v0.8.5
and hit Add.
To update, increment the version number at the end of the URL to the new version number and repeat these steps with the new URL. Alternatively, you can edit the URL listed in your manifest.json
file as described in the Via Manifest section.
In your Packages > manifest.json
file, add the following line to your dependencies
:
{
"dependencies": {
+ "com.thenathannator.plasticband": "https://github.com/TheNathannator/PlasticBand-Unity.git?path=/Packages/com.thenathannator.plasticband#v0.8.5"
}
}
To update, increment the version number at the end of the URL to the new version number. The package manager will automatically pull the new changes upon regaining focus.
- Clone this repository to somewhere on your system.
- Go to the Unity Package Manager and hit the + button, then pick
Add package from disk
. - Navigate to the
Packages
>com.thenathannator.plasticband
folder inside the clone and select thepackage.json
file.
To update, pull the latest commits. Unity will detect the changes automatically.
This project is licensed under the MIT license. See LICENSE.md for details.