Rexeh / joystick-diagrams

Automatically output your tool/game HID configs into printable diagrams with all your binds.
https://joystick-diagrams.com
GNU General Public License v2.0
146 stars 22 forks source link

Can't work out how to label axis #56

Closed jacrify closed 3 years ago

jacrify commented 3 years ago

Axis on my thrustmaster don't show up as labelled- they just appear as "Axis_RX" etc rather than the labels in Joystick Gremlin. I've tried a few different ways to get them to show up but no luck.

Screenshots and joystick gremlin config (renamed as .txt) attached. Expected behaviour is that instead of "Axis RX" it should show "Fuel Mix" or "Test".

Great piece of work by the way.

MicrosoftFlightSim2020 .txt

image

image

Rexeh commented 3 years ago

Thanks for this!

Unfortunately not currently supported in current version - https://joystick-diagrams.com/features/

This is due to JG not exposing axis data in the XML, it requires a deeper Integration with windows devices to draw these out. This deeper Integration would come with a future version.

jacrify commented 3 years ago

Is it possible to just pull in the description nodes if they are present? Eg the stanza from my file was:

<axis description="Fuel Mix" id="7">
                    <container type="basic">
                        <action-set>
                            <description description="Test"/>
                            <remap axis="7" axis-scaling="1.0" axis-type="absolute" vjoy="1"/>
                        </action-set>
                    </container>
                </axis>

I just want it to say "Fuel Mix" on the diagram. Is the problem that you don't know where on the stick "axis-7" maps to?

Rexeh commented 3 years ago

Is it possible to just pull in the description nodes if they are present? Eg the stanza from my file was:

<axis description="Fuel Mix" id="7">
                    <container type="basic">
                        <action-set>
                            <description description="Test"/>
                            <remap axis="7" axis-scaling="1.0" axis-type="absolute" vjoy="1"/>
                        </action-set>
                    </container>
                </axis>

I just want it to say "Fuel Mix" on the diagram. Is the problem that you don't know where on the stick "axis-7" maps to?

Unfortunately not, because there's nothing in there telling me what "AXIS 7" is, I need to query Windows to pull that out and resolve to AXIS_RX and so forth.

Rexeh commented 3 years ago

Closed as part of rewrite - duplicate of #46