js overlay to make speedbrake work on broken seahawk
This commit is contained in:
parent
fa1593f9f0
commit
0543d8fead
1 changed files with 14 additions and 0 deletions
14
Input/Joysticks/ThrustMaster/Warthog/Throttle/seahawk.xml
Normal file
14
Input/Joysticks/ThrustMaster/Warthog/Throttle/seahawk.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- fix broken seahawk speedbrake -->
|
||||
|
||||
<PropertyList>
|
||||
<nasal>
|
||||
<script>
|
||||
if (init)
|
||||
setlistener("/controls/flight/speedbrake", func(n) {
|
||||
setprop("/controls/flight/speedbrake-lever", n.getValue());
|
||||
seahawk.adjustFlaps();
|
||||
});
|
||||
</script>
|
||||
</nasal>
|
||||
</PropertyList>
|
Loading…
Reference in a new issue