Key Bindings - program needs improvement

Community Support for the game and it's features
User avatar
Cmdr Kharma
Dangerous
Dangerous
Posts: 3776
Joined: Thu Sep 18, 2014 7:28 pm
CMDR: Kharma
CMDR_Platform: PC-MAC
Contact:

Re: Key Bindings - program needs improvement

Postby Cmdr Kharma » Fri Dec 11, 2015 7:02 pm

Are you thinking of doing the Warthog at some point ?
Image

Tor.....Hold on.......Tor.......Wait a bit.....TOR will you stop fecking firing.......Ok......Tor I know a therapist that can help you....... :D My Cmdr also has small feet

User avatar
Roger Wilco Jr
Master
Master
Posts: 1811
Joined: Sat Nov 22, 2014 3:52 pm
CMDR: Roger Wilco Jr.
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby Roger Wilco Jr » Fri Dec 11, 2015 7:13 pm

LionOfNarnia wrote:I think they have different config files in the base game.

Maybe you can test it with your X52-Pro and see if it maps things correctly? ;)
It's time to give this another go.

User avatar
LionOfNarnia
Master
Master
Posts: 673
Joined: Fri Jun 12, 2015 1:57 pm
CMDR: Lion Freeman
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby LionOfNarnia » Fri Dec 11, 2015 7:33 pm

Roger Wilco Jr wrote:
LionOfNarnia wrote:I think they have different config files in the base game.

Maybe you can test it with your X52-Pro and see if it maps things correctly? ;)


ATM it does this -

Code: Select all

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/www/www.mcdee.net/elite/scripts/bindings.py in ()
    739   hotasxImg = None
    740
=>  741 if createdImage is False and fileitem.get('filename') is not None and fileitem.get('filename') is not '':
    742   msg = '<h1>The bindings file supplied does not have any bindings for a supported HOTAS.</h1>'
    743 # Save a copy of the images for reference
createdImage = False, fileitem = FieldStorage('bindings', 'Saitek.binds', b'<?xml..."0" />\r\n\t</CamTranslateZHold>\r\n</Root>\r\n'), fileitem.get undefined
 /usr/lib/python3.4/cgi.py in __getattr__(self=FieldStorage('bindings', 'Saitek.binds', b'<?xml..."0" />\r\n\t</CamTranslateZHold>\r\n</Root>\r\n'), name='get')
    577     def __getattr__(self, name):
    578         if name != 'value':
=>  579             raise AttributeError(name)
    580         if self.file:
    581             self.file.seek(0)
builtin AttributeError = <class 'AttributeError'>, name = 'get'
AttributeError: get
      args = ('get',)
      with_traceback = <built-in method with_traceback of AttributeError object>
"I don't always kill & eat things - but when I do it's because I'm a Lion & they were things"
Image

User avatar
Roger Wilco Jr
Master
Master
Posts: 1811
Joined: Sat Nov 22, 2014 3:52 pm
CMDR: Roger Wilco Jr.
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby Roger Wilco Jr » Fri Dec 11, 2015 9:49 pm

Nope, then ;) - but the experiment may help.


Anyhoo, there is still a problem with the way the front switch on the CH Throttle is mapped to the arrows. I double checked the in-game control bindings for function and button number.

Throttle_2.jpg
Throttle_2.jpg (132.15 KiB) Viewed 3247 times


When I move my finger to the left, I select Wingman 1 on button 12
When I move my finger down I select Wingman 2 on button 9
When I move my finger to the right I select Wingman 3 on button 10
When I move my finger up I select Wingman Navlock on button 11
It's time to give this another go.

jgm
Harmless
Harmless
Posts: 14
Joined: Thu Dec 10, 2015 8:23 pm
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby jgm » Fri Dec 11, 2015 9:53 pm

LionOfNarnia wrote:
ATM it does this -

...


Yeah I haven't set it up for the X-52 pro yet, although it shouldn't error like that (should now be fixed).

The X-52 pro shouldn't be significantly different from the X-52 as far as I'm aware but I'd rather nail down the X-52 first and that should make the X-52 pro a much easier stick to do subsequently.

jgm
Harmless
Harmless
Posts: 14
Joined: Thu Dec 10, 2015 8:23 pm
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby jgm » Fri Dec 11, 2015 9:54 pm

Roger Wilco Jr wrote:When I move my finger to the left, I select Wingman 1 on button 12
When I move my finger down I select Wingman 2 on button 9
When I move my finger to the right I select Wingman 3 on button 10
When I move my finger up I select Wingman Navlock on button 11


Okay I've remapped it according to what you say above (I think), give it another shot and see how it goes.

jgm
Harmless
Harmless
Posts: 14
Joined: Thu Dec 10, 2015 8:23 pm
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby jgm » Fri Dec 11, 2015 9:56 pm

Cmdr Kharma wrote:Are you thinking of doing the Warthog at some point ?


I'm happy to work on all of the various HOTAS, my problem is that for those that I don't own it's a bit of trial-and-error when working out firstly what each button, stick and dial actually does, and secondly how they map to the names the FD use in their control file.

The basic process is that I find a decent image of the HOTAS and put together a template file with the boxes. Someone fills in the boxes and sends me their custom binds file, and that allows me to do the mappings. If you're interested in doing this I'd be happy to give it a shot.

User avatar
Roger Wilco Jr
Master
Master
Posts: 1811
Joined: Sat Nov 22, 2014 3:52 pm
CMDR: Roger Wilco Jr.
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby Roger Wilco Jr » Fri Dec 11, 2015 10:13 pm

jgm wrote:Okay I've remapped it according to what you say above (I think), give it another shot and see how it goes.

OK, that did it. 8-)

Throttle_Horizons.jpg
Throttle_Horizons.jpg (140.82 KiB) Viewed 3245 times

I don't have the CH Stick so I couldn't check that. If they had twist, I would!

Also, I'm currently not using modes on the throttle, but technically I can have 3 times the buttons. I don't even know if the in-game bindings will work with those or if it has to be done out-of-game. I think I can avoid that if I get Voice Attack running for some simple things.
It's time to give this another go.

jgm
Harmless
Harmless
Posts: 14
Joined: Thu Dec 10, 2015 8:23 pm
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby jgm » Wed Dec 16, 2015 9:40 am

I've updated this webpage in a few ways, most notably it generates a keyboard reference sheet as well. It should also provide details of keyboard bindings as well. Give it a shot at http://www.mcdee.net/elite/ and let me know how it goes.

User avatar
LionOfNarnia
Master
Master
Posts: 673
Joined: Fri Jun 12, 2015 1:57 pm
CMDR: Lion Freeman
CMDR_Platform: None Specified
Contact:

Re: Key Bindings - program needs improvement

Postby LionOfNarnia » Wed Dec 16, 2015 10:24 am

[X-52 Pro][ED 1.5]
Very good - but not quite perfect, yet :)

Only failed to pick up the mouse scroll wheel (Scanner +/-) & 5/6 of the "T" switches...
T1 - resume Nav course
T2 - Wingman 1
T4 - Wingman 2
T5 - System Map
T6 - Wingman Nav Lock

It's still going to be useful though, for when I start writing more macros for Roccat Powergrid.
"I don't always kill & eat things - but when I do it's because I'm a Lion & they were things"
Image


Return to “Gameplay and Features”

Who is online

Users browsing this forum: No registered users and 6 guests

i