Keyboard and HOTAS Reference Sheet Generator

Status
Thread Closed: Not open for further replies.
Not to be a bearer of bad news, but this error comes up when reviewing saved binds (Mod 3 is the last one displayed):


Mod 3 SaitekX52Pro Fri Nov 24 13:39:32 2017

Traceback (most recent call last):
File "/var/www/edrefcard.info/www/scripts/bindings.py", line 1120, in <module>
main()
File "/var/www/edrefcard.info/www/scripts/bindings.py", line 1117, in main
printHTML(mode, config, public, createdImages, deviceForBlockImage, errors)
File "/var/www/edrefcard.info/www/scripts/bindings.py", line 757, in printHTML
printBody(mode, config, public, createdImages, deviceForBlockImage, errors)
File "/var/www/edrefcard.info/www/scripts/bindings.py", line 743, in printBody
printList()
File "/var/www/edrefcard.info/www/scripts/bindings.py", line 705, in printList
''' % (refcardURL, cgi.escape(name, quote=True), controllersStr, dateStr))
UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 120: ordinal not in range(128)

This should now be solved. I won't bore you with the long story of how much time I spent writing unit tests when the error was in the server config.

Anyhow, descriptions are no longer restricted to ASCII and everything should be UTF-8. The sole current non-ASCII description is now proudly bearing the � char as a memento.

Also, be advised that I'm writing some admin tools to get rid of entries with silly names, such as those beginning with a ton of hyphens.

"If you wanted to keep it, you should have given it a better name."
 
Last edited:
The problem with TARGET configs is that there is no way for me to see through the virtual device mappings to the physical device and figure out what in the virtual device has been mapped to what on the physical device.

Same applies to other joystick mapping software such as vJoy and Joystick curves.

I'm sorry but that level of complexity is just far too much for me to deal with in a hobby project.

Hey VerticalBlank! I wasn't complaining! Your tool is fantastic! I was just saying why I still needed another mapping tool.
Fly Safe
Jibs
 
thanks for all your hard work. That reference sheet is really useful. I just tried it with my twin Virpil MonggosT-50s, but it doesn't want to play. I guess it's because they both have the same ID. Even the game gets them mixed up sometimes when it swaps some of the assignments from left to right stick, which can be very entertaining sometimes.
 
Warning: ancient technology!

Just getting back into ED today after a hiatus. Trying to remind myself of the keyboard & HOTAS mappings that I had setup when I was last playing, and I found this reference sheet generator. Looks very useful, but it doesn't recognize my museum-level-antique Saitek H36F/H35T joystick and throttle setup. Any chance you can take a look?

HTML:
https://edrefcard.info/binds/iidrab
 
I’m sad to report that I have a single MT-50 and it also is not working. I quickly browsed the source code and it doesn’t appear to have support for the Virpil stuff yet.
 
My config doesn't save before the page blows up - any other way to get my bind file to you?

Hopefully you received my bind file a while ago... You are right about it not being the camera settings. I can get a graphic when filtering everything individually, including cameras, except when selecting the "Ship" filter. I'll look through those settings to see if I did something naughty there...

And do I understand correctly that you also work on EDDI? If so - COOL! - I won't fly without it!

Thanks!
 
I found the problematic line that prevented my config file to print:

<CyclePreviousSubsystem>
<Primary Device="Keyboard" Key="Key_K">
<Modifier Device="Keyboard" Key="" />
</Primary>
<Secondary Device="ThrustMasterTFlightHOTASX" Key="Joy_POV1Down">
<Modifier Device="ThrustMasterTFlightHOTASX" Key="Joy_6" />
</Secondary>
</CyclePreviousSubsystem>


The third line is not valid ( <Modifier Device="Keyboard" Key="" /> ). Not sure how it came to be as I only used the ED configuration menu, but I finally found it by good old fashioned binary searching using XML comments in the binds file to finally narrow it down.

Thanks!
 
Hey, ho!

Stumbled upon the Mcdee site while looking for a blank bindings/drawings diagram for my new X56, and... wow! What a useful site / function. Very helpful, too, as I tweak which switches I want to do what... just change 'em in Options, then re-link to the bindings file for a fresh reference card w/o all my scribbles and cross-outs on it. :)

I also appreciate that you didn't lock access to the images on the sheets, as some sites seem to do. Means I can modify them to suit my taste (read: blow up the images in Paint so that throttle and joystick each fill up a page to accommodate my old eyes), making them even more useful to me.

This is a really great service... beats the hell outta my having to try and create something similar from scratch... thanks! :D
 
Getting a bit of an issue with the EDRefCard generator; when submitting my Custom.3.0.binds file, I get this error on the page after clicking Generate Reference Card: "Incorrect file supplied; please go back and select your binds file as per the instructions."

I did have to edit the binds file at one point, so, I dunno if that has something to do with it or not.
 
Last edited:
EDRefCard Unknown Controller

I'm getting the following message:

Unknown controller detected
You have a device that is not supported at this time. Please report details of your device by following the link at the bottom of this page supplying the reference "dmszkw" and we will attempt to add support for it.

I'm using a Logitech Extreme 3d Pro in conjunction with a Razer Orbweaver.
 
Getting a bit of an issue with the EDRefCard generator; when submitting my Custom.3.0.binds file, I get this error on the page after clicking Generate Reference Card: "Incorrect file supplied; please go back and select your binds file as per the instructions."

I did have to edit the binds file at one point, so, I dunno if that has something to do with it or not.

It sounds like your hand-editing may have made the file invalid. You could back it up then try making a trivial edit in-game, saving it, and reverting it.
 
Hi guys, is this where alternate/unsupported device layouts etc can be submitted?
I have a Logitech F310 Gamepad I've mounted it in-front of my X55 Throttle, so I can access the two joysticks, pov and all console buttons etc when in VR.

Current setup has been to make VR easier and focus on exploring (hence some obscure bindings and rearrangement from what would be typical for combat-ready rigs etc)
Reference "aiqoii"


vXy06Lp.png

JrB7srkl.jpg
 
Last edited:
Question about a bind setup different to my one above.
This time i only have the hotas x55 bound (removed gamepad) to work through binding with a throttle grip modifier - button 1.

since this is the only modifier I didn’t expect to see the Shield Cell and Heatsink listed as [2] on the stick.

As as far as I know they were bound correctly using Throttle Joy-1 + Stick Joy-3 & 4.

https://edrefcard.info/binds/lrgzgy



lrgzgy-x55.jpg




I am also unclear as to how and what the “Camera Z hold” assignment is on the modifier.
 
Last edited:
Hi,

Here is your bindings file colored by modifier, it makes it easier to see, and yes you're right:
https://edrefcard.info/binds/pnmims

To take the easy one first, "Camera Z hold" is the last entry in the Galaxy Cam section, called "Galaxy Cam Set Y-Axis to Z-Axis" in game. I guess JGM felt that was too long to fit.
Reviewing the default schemes, it's mostly used by gamepads etc that don't have 6 degrees of freedom.

I've looked at your bindings file and for whatever reason the commands on modifier 2 have indeed gotten the modifier remapped to stick button 5. I've seen this happen sometimes when a controller is removed: the game sometimes gets confused.

I've hand-edited the binding file to fix both these issues; the fixed file is here:
https://edrefcard.info/binds/sofapj

If you are curious you can compare the old and new files with any text comparison tool to see the changes.

Hope this helps.
 
Thats great man thabks.
Makes sense! I did remove the gamepad i was using previously. And I will diff the files to see the changes.
Cheers!
 
Last edited:
Status
Thread Closed: Not open for further replies.
Back
Top Bottom