Skip to content

Commit

Permalink
Fix PS4 RB guitar tilt/whammy/pickup not working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNathannator committed Dec 22, 2023
1 parent b8fe9bf commit 9497bde
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ internal unsafe struct PS4RockBandGuitarState_NoReportId : IInputStateTypeInfo
public byte buttons2;

[InputControl(name = "pickupSwitch", layout = "Integer")]
[FieldOffset(43)]
[FieldOffset(42)]
public byte pickupSwitch;

[InputControl(name = "whammy", layout = "Axis")]
[FieldOffset(44)]
[FieldOffset(43)]
public byte whammy;

[InputControl(name = "tilt", layout = "Axis")]
[FieldOffset(45)]
[FieldOffset(44)]
public byte tilt;
}

Expand Down

0 comments on commit 9497bde

Please sign in to comment.