ArduPilot / ArduPilot/MissionPlanner

Joystick config does not save or load properly

Open
#1,388 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

I can see that the joystickbuttons.xml and joystickaxis.xml files save properly in User/Documents/Mission Planner but when the configuration window is opened it is always completely unset, just like the first time it was opened.

It also seems that the .xml files are only properly saved to if the "autodetect" feature isn't used.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue from the joystick configuration window, checking joystickbuttons.xml and joystickaxis.xml in User/Documents/Mission Planner with and without autodetect. Trace when these files are written and read, then verify that reopening the window restores the saved configuration in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.