Skip to content

Commit

Permalink
heck
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNathannator committed Jun 28, 2024
1 parent a0f2f1b commit 1d7da20
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Packages/com.thenathannator.plasticband/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Dates are relative to UTC.

## [0.8.2] - 2024/06/28

### Fixed

- i screwed up the Santroller fix a little and there was a potential null reference bug, whoops lol

## [0.8.1] - 2024/06/28

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private static string FindXInputDeviceLayout(ref InputDeviceDescription descript
return null;

// hack: pass through Santroller layouts as-is
if (matchedLayout.Contains("Santroller"))
if (matchedLayout != null && matchedLayout.Contains("Santroller"))
return null;

// Parse capabilities
Expand Down
2 changes: 1 addition & 1 deletion Packages/com.thenathannator.plasticband/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.thenathannator.plasticband",
"version": "0.8.1",
"version": "0.8.2",
"displayName": "PlasticBand",
"description": "An add-on for the Unity InputSystem package that adds special bindings for Rock Band and Guitar Hero peripherals, such as guitars and drums.",
"unity": "2019.4",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ See the [Unity documentation](https://docs.unity3d.com/Manual/upm-git.html) for
#### Via URL

1. Open the Unity Package Manager and hit the + button, then select `Add package from git URL`.
2. Paste in `https://github.com/TheNathannator/PlasticBand-Unity.git?path=/Packages/com.thenathannator.plasticband#v0.8.1` and hit Add.
2. Paste in `https://github.com/TheNathannator/PlasticBand-Unity.git?path=/Packages/com.thenathannator.plasticband#v0.8.2` 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](#via-manifest) section.

Expand All @@ -65,7 +65,7 @@ In your Packages > `manifest.json` file, add the following line to your `depende
```diff
{
"dependencies": {
+ "com.thenathannator.plasticband": "https://github.com/TheNathannator/PlasticBand-Unity.git?path=/Packages/com.thenathannator.plasticband#v0.8.1"
+ "com.thenathannator.plasticband": "https://github.com/TheNathannator/PlasticBand-Unity.git?path=/Packages/com.thenathannator.plasticband#v0.8.2"
}
}
```
Expand Down

0 comments on commit 1d7da20

Please sign in to comment.