Skip to content

Revamp gamepad input mapping #756

Closed
Closed

Description

@ataffanel

The gamepad input mapping was done very long time ago and it seems that things have changed in the way OS handles gamepad.

For linux, everything seems to be mapped the same, ie. everything looks like an xbox controller. I suspect the same is true for Mac and Windows.

This means that we might be able to simplify a lot the mapping: we should be able to know what is the left and right thumbstick for example, so instead of having this very generic mapping we have now, we can just expose mode 1,2,3,4 and allow the user to map thumbsticks to Crazyflie commands. There is of course a difficulty that we might still want to allow fully custom mapping. Maybe this can be done in two layer though: first map axis to a standard gamepad, this would be automatic unless the user wants to make a custom gamepad. And then map the standard gamepad to Crazyflies commands.

At the very least, the current list of preset should be fixed: it does not match reality anymore.

Activity

  1. ataffanel commented on Oct 7, 2025

    @ataffanel
    MemberAuthor

    We will start by looking at the current mapping files and fixing them.

  2. added
    priorityIssues discussed in the triage meeting that are high on our priority list.
    and removed
    Triage neededIssues to be discussed in the next triage meeting.
    on Oct 7, 2025
  3. enyanil commented on Mar 17, 2026

    @enyanil
    Member

    The input mappings have been updated and adapted to each OS in PR #758.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priorityIssues discussed in the triage meeting that are high on our priority list.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions