Skip to content

Conversation

@EchoEllet
Copy link
Contributor

@EchoEllet EchoEllet commented Dec 2, 2025

Ports this commit from my fork.

I don't have a Steam Deck device, though some users reported this issue:

"dev.isxander.deckapi.api.ControllerState.getButtonState(dev.isxander.deckapi.api.ControllerButton)" because "deckState" is null

They have confirmed that this patch fixed the issue, but I'm still not entirely certain, as this is on 1.20.1 and my branch was based on Controlify 2.1.2, with some manual backports (no cherry-picking) to make it "just work".

So this might not be an appropriate fix; it's possible that this fixed the crash but caused misleading behavior or minor issues.

@EchoEllet EchoEllet changed the title [Add missing return statement to fix Steam Deck crashes? [Steam Deck] Add missing return statement to fix game launch crashes? Dec 2, 2025
@isXander isXander merged commit 03c28e2 into isXander:multiversion/dev Dec 3, 2025
2 of 13 checks passed
@EchoEllet EchoEllet deleted the fix/steam-deck-missing-return-statement branch December 3, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants