Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
libmanette
libmanette
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • libmanettelibmanette
  • Issues
  • #1

Closed
Open
Opened Jan 09, 2018 by Rouby Pierre-Antoine@RoubyPA

X and Y button bind error ?

Hi,

I tested libmanette with the controller "Microsoft X-Box 360 pad" and the program "manette-test", but when I press the X button, the program outputs a BTN_Y press and when I press the Y button, the program outputs a BTN_X press.

In the "parse_destination_input" function in the file "manette-mapping.c", we can see the following lines:

{ EV_KEY, BTN_Y, "x" },
{ EV_KEY, BTN_X, "y" },

Is it normal?

If not, are those two following lines better suited?

{ EV_KEY, BTN_Y, "y" },
{ EV_KEY, BTN_X, "x" },
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/libmanette#1