Board index FlightGear Support

no response to retract spoilers key

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

Please report any bugs not specific to an aircraft on the issue tracker.
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

no response to retract spoilers key

Postby bob755 » Fri Nov 17, 2017 10:39 pm

I have tested this problem with the F15 and A320, whih are the two aircraft installed but I think it's common to all aircraft that have spoilers.

I can deploy the spoilers with th "k" key but the "j" key has no effect.
I checked the keybord.xml and the "j" key 106 is indeed configured to retract the spoilers.

The internal property /controls/flight/speedbrake changes with the "k" key but not with the "j" key.

If I read the key value with the property /devices/status/keyboard/event, hitting the j" key displays 106 so the key is being read ok.

I couldn't find any key reassignments in the -set files.

Thanks
bob755
 
Posts: 139
Joined: Mon Oct 30, 2017 2:21 pm

Re: no response to retract spoilers key

Postby Thorsten » Sat Nov 18, 2017 7:13 am

I've seen that one recently with the F-14b and ascribed it to some quirk in the plane version I had - it could be fixed by declaring the key binding aircraft-side, but that doesn't explain why it was broken in the first place...
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: no response to retract spoilers key

Postby bob755 » Sat Nov 18, 2017 9:22 am

On the F15, assigning the spoilers deploy/retract to joystick buttons actions the speed brakes.
On the A320 and the boeing 700, there doesn't seem any way to deploy the air brakes.
bob755
 
Posts: 139
Joined: Mon Oct 30, 2017 2:21 pm

Re: no response to retract spoilers key

Postby wkitty42 » Sat Nov 18, 2017 10:01 am

which A320 and which boeing 700? there are several floating around... are you speaking only of those in FGAddon?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: no response to retract spoilers key

Postby Richard » Sat Nov 18, 2017 11:40 am

The problem appears to be that the walker is rebinding key "j" to open parachute; so I'd image any aircraft with a walker installed would see this problem.

The root of the problem is that we only have global key bindings - and that really there should also be a standard way of having mode, or view, dependent bindings that override the global set.
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: no response to retract spoilers key

Postby bob755 » Sat Nov 18, 2017 12:34 pm

Ideally would be a user specific file in which one could specify key bindings for all aircraft that override global key bindings. Then they wouldn't be over written when FG or aircraft gets updated.
The path of the file would be a command line option.
It's a pain having different keys for different aircraft for the same function.
bob755
 
Posts: 139
Joined: Mon Oct 30, 2017 2:21 pm

Re: no response to retract spoilers key

Postby bob755 » Sat Nov 18, 2017 12:39 pm

Richard wrote in Sat Nov 18, 2017 11:40 am:The problem appears to be that the walker is rebinding key "j" to open parachute; so I'd image any aircraft with a walker installed would see this problem.

The root of the problem is that we only have global key bindings - and that really there should also be a standard way of having mode, or view, dependent bindings that override the global set.


Where is that?
When I look in the keyboard.xml file I see :
Code: Select all
<key n="106">
  <name>j</name>
  <desc>Decrease spoilers</desc>
  <binding>
   <command>nasal</command>
   <script>controls.stepSpoilers(-1)</script>
  </binding>
 </key>
bob755
 
Posts: 139
Joined: Mon Oct 30, 2017 2:21 pm

Re: no response to retract spoilers key

Postby Richard » Sat Nov 18, 2017 12:52 pm

I've pushed a fix to FGData[1] that will make the 'j' key binding conditional on the view.

-------------
[1] https://sourceforge.net/p/flightgear/fg ... c73c84969/
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: no response to retract spoilers key

Postby bob755 » Sat Nov 18, 2017 1:05 pm

Richard wrote in Sat Nov 18, 2017 12:52 pm:I've pushed a fix to FGData[1] that will make the 'j' key binding conditional on the view.


Ah, Can you explain?
bob755
 
Posts: 139
Joined: Mon Oct 30, 2017 2:21 pm

Re: no response to retract spoilers key

Postby Richard » Sat Nov 18, 2017 2:02 pm

It will be in the next version of FG (2018.1);

however you can download the file from here https://sourceforge.net/p/flightgear/fg ... format=raw and replace your file in $FGData/Aircraft/Generic/Human/Include/
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: no response to retract spoilers key

Postby bob755 » Sat Nov 18, 2017 2:09 pm

Thanks a lot!
bob755
 
Posts: 139
Joined: Mon Oct 30, 2017 2:21 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 7 guests