Skip to content

Commit

Permalink
Fix Wii MIDI Pro Adapter drums mode product ID
Browse files Browse the repository at this point in the history
also fix the doc link for that file
  • Loading branch information
TheNathannator committed Jul 29, 2024
1 parent a7e6ea9 commit 162b0e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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.

## [Unreleased]

### Fixed

- Fixed the Wii MIDI Pro Adapter not being recognized properly in drums mode, due to an incorrect product ID in the layout registration.

## [0.8.3] - 2024/06/29

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using UnityEngine.InputSystem.Utilities;

// PlasticBand reference doc:
// https://github.com/TheNathannator/PlasticBand/blob/main/Docs/Instruments/4-Lane%20Drums/Wii%20and%20Wii.md
// https://github.com/TheNathannator/PlasticBand/blob/main/Docs/Instruments/4-Lane%20Drums/PS3%20and%20Wii.md

namespace PlasticBand.Devices
{
Expand Down Expand Up @@ -38,7 +38,7 @@ internal class WiiFourLaneDrumkit : TranslatingFourLaneDrumkit_Flags<PS3WiiFourL
HidLayoutFinder.RegisterLayout<WiiFourLaneDrumkit_ReportId, WiiFourLaneDrumkit>(0x1BAD, 0x3110);

// MIDI Pro Adapter
HidLayoutFinder.RegisterLayout<WiiFourLaneDrumkit_ReportId, WiiFourLaneDrumkit>(0x1BAD, 0x3118);
HidLayoutFinder.RegisterLayout<WiiFourLaneDrumkit_ReportId, WiiFourLaneDrumkit>(0x1BAD, 0x3138);
}
}

Expand Down

0 comments on commit 162b0e5

Please sign in to comment.