GP2040-CE icon indicating copy to clipboard operation
GP2040-CE copied to clipboard

LEDs do not work when joystick is set to LS (DP works)

Open arntsonl opened this issue 1 year ago • 1 comments

This could be a new bug, switching the joystick to LS is supposedly causing the LEDs to no longer fire for the joystick. Switching back to DP then fixes the issue?

Will need to verify locally.

arntsonl avatar May 31 '23 14:05 arntsonl

This is because LEDs respond to the gamepad report instead of raw inputs. The WIP LED refactor is addressing this by mapping LED raw inputs (GPIO, expander, analog, etc.) to the LED nodes they affect.

The current LED presses take into account SOCD, so this new approach may need to factor that in depending on if we want to see LED changes based on physical presses/changes or logical controller outputs.

FeralAI avatar May 31 '23 17:05 FeralAI