Skip to content
Articles
Article

Patches Welcome #2: A D-pad Bug That Only Showed Up When You Pressed Up

by Sagar Ghag dev.to

2 min read

Pressing Up on an Android gamepad fired dpadDown. Pressing Down fired dpadUp. Left and Right worked fine. The bug lived in a single sign comparison, but finding which sign comparison took longer than writing the fix. The report Issue #123 in the Flame engine's gamepads package. A developer on a Samsung SM-G781B with a GameSir G8 Pro controller posted the raw event log: GAMEPAD EVENT: button="Game…

Forum

Questions about this, or something to add?

Discuss on the forum

Topics Flame and games

Report this · Wrote this? Claim it

FlutterX is supported by