Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SITL XPlane DRef Mapping for Axis 7, 8. #3346

Open
jllancaster opened this issue May 4, 2024 · 0 comments
Open

SITL XPlane DRef Mapping for Axis 7, 8. #3346

jllancaster opened this issue May 4, 2024 · 0 comments

Comments

@jllancaster
Copy link

jllancaster commented May 4, 2024

Issue details

With X-Plane 12 and DREF mapping for SITL XPlane, the simulation code only seems to be looking for joystick axis numbers 1-6; however, some joysticks axes such as roll are assigned as axis 7 and axis 8 by X-Plane. Is it possible add support for joysticks using axis 7 and 8? From Discord post from another user below:

"Update on my issues. First, I got the joystick to work with Mission Planner and X-Plane. X-Plane 12 maps your joystick(s) in an array sim/joystick/joystick_axis_values[500]. If it is not mapped to axis[1 to 6], it will never work in Mission Planner. I did 3 X-Plane 12 installations on 3 different computers and they all had different axis mapped for my single Logitech Extreme 3D Pro joystick. By looking at the Mission Planner X-Plane simulation code, it's looking for the raw axis values packets which only has axis[1 to 6] and 2 buttons. If your joystick is mapped to other axis, the raw axis values will be stuck at a fixed value at least that's what it did for me."

Version

MP 1.3.81

Platform

[ ] All
[ ] AntennaTracker
[ ] Copter
[ x ] Plane
[ ] Rover
[ ] Sub

Airframe type

SITL Plane

Hardware type

NA

Logs

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant