Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #93 from arntsonl/playerled_datafix
Browse files Browse the repository at this point in the history
Fixed Player LEDs in the NeoPico LED code
  • Loading branch information
Fortinbra authored Sep 18, 2022
2 parents 2bc53e7 + 016dd4a commit 7c40d6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/addons/neopicoleds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ void NeoPicoLEDAddon::process()
switch (gamepad->options.inputMode) {
case INPUT_MODE_XINPUT:
animationState = getXInputAnimationNEOPICO(featureData);
if (neoPLEDs != nullptr && animationState.animation != PLED_ANIM_NONE)
neoPLEDs->animate(animationState);
break;
}
}
Expand Down

0 comments on commit 7c40d6b

Please sign in to comment.