Skip to content

GamepadButton.dpadUp/.dpadDown inverted for Android #123

Description

@fescrb

Pressing the DPad's Up button on a connected controller produces the following NormalizedGamepadEvents:

I/flutter (20397): GAMEPAD EVENT: button="GamepadButton.dpadUp" axis= null value=0.0
I/flutter (20397): GAMEPAD EVENT: button="GamepadButton.dpadDown" axis= null value=1.0

And vice-versa for the Down button.


Checked on the following environment:

  • Device: SM-G781B
  • Android Version: 13
  • GamePad: GameSir G8 Pro
$ flutter --version
Flutter 3.44.6 • channel stable •
https://github.com/flutter/flutter.git
Framework • revision ee80f08bbf (3 weeks
ago) • 2026-07-08 15:02:06 -0700
Engine • hash
d3a3293399556a85388faf8c6f0723a7a5597aa8
(revision 83675ed276) (30 days ago) •
2026-06-30 16:59:03.000Z
Tools • Dart 3.12.2 • DevTools 2.57.0
  gamepads:
    dependency: "direct main"
    description:
      name: gamepads
      sha256: bc2b4368f7f01e0390187f63c063f1fa26f420224e159fed1aaa2c449f5a1125
      url: "https://pub.dev"
    source: hosted
    version: "0.1.10+5"
  gamepads_android:
    dependency: transitive
    description:
      name: gamepads_android
      sha256: "8d8430deab5c35bafee3124bec0db19d3df605bb8f42da9ba188e826fda551e2"
      url: "https://pub.dev"
    source: hosted
    version: "0.1.8+2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions