The code seems to assume that all of the 0/1 bits are assuming that the two devices are the same device. Where in this case, the two are very different layouts. The 0 device has 5 axis (two throttles, an analog dial, and an analog stick) plus a number of buttons, where the 1 device only has buttons.That's ok... Code handles devices 0/1 already by the looks of it.
Will need to see a sample binds file too to check out and test with.
J
Ok, I've put up a PR for the necessary changes. I've added blank pages (.jpg and .svg) just so that it has anything to display at all.@Imagix as I was quite a ways ahead of Richard's repo anyway, so I created a new one here: https://github.com/brammmers/edrefcard2 rather than do a pull request.
Your changes look straightforward, would you like to do a PR off my repo (as all other pull's have now been merged into it) or I can manually create a branch and copy your changes across.
That repo is a WIP (e.g. contains private IPs for hostnames etc.) but that can be fixed-up once hosting has been sourced.
I've also started an idea at line 69 in bindingsData.py on how to de-dupe the co-ords structure to make it more maintainable.
Indeed!Thanks @Downslide, are the attached correct?
View attachment 379764
View attachment 379765
View attachment 379766
J
did you have a chance to update the live version? because I still get the Unrecognized device...http://edrefcard.info/binds/oqqmxdThanks @Downslide, are the attached correct?
View attachment 379764
View attachment 379765
View attachment 379766
J
At the moment, I don't have anywhere publicly accessible that can run the code.
Can you please add theDo you confuse your lights with
your landing gear? Or maybe you've
just splurged on a new HOTAS and
are looking for a decent control set?
Either way, EDRefCard
has your back!
EDRefCard is a website that can take your custom bindings file and generate a beautiful printable reference card for both your keyboard and controller, be it a gamepad, joystick or HOTAS.
The reference cards are high-resolution for printing, and can optionally be filtered by control group and/or colour-coded by control group or modifier key -- yes, bindings that use modifier keys are fully supported!
You also have the option to save your bindings, which can be useful both as a backup and to sync across more than one computer. Saved bindings are public and browsable via a (currently rather primitive) listing.
EDRefCard will also warn you of the slip-up of binding an analog axis to a digital input when there is an analog input available.
While there is currently no way to upload the bindings files from a game console, I do always maintain the game's default bindings schemes on the site, currently under names starting "3.3 default", and those include the standard XBox and PS4 schemes.
In case you were wondering, yes EDRefCard is the successor site to the reference card generator originally written by CMDR jgm, handed over with his blessing. The old thread is here.
worked for me! Thanks!I've setup a copy using your git repo at https://edrefcard2.epaphus.uk/
I will try to keep it up-to-date as I see the repo update.