Axis "Mixture Control" can't be bound to joystick axis - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 07-21-2019, 06:05 PM   #1
-0303-
Member
 
Join Date: Dec 2018
Posts: 140
Default Axis "Mixture Control" can't be bound to joystick axis

It can be freely dragged with the mouse to any position.
It has a toggle to either end ("Mixture Control (rotary)".

But it lacks any binding under axis (was going to set it to the slider).
It also lacks incremental or decremental buttons to program.

Obviously not critical, just noting.


~
Ed/Add
To avoid cluttering bug threads I'll just edit in a thanks to LeCuvier for the fix here (post #2).

Last edited by -0303-; 07-26-2019 at 06:22 PM.
-0303- is offline   Reply With Quote
Old 07-24-2019, 03:49 PM   #2
LeCuvier
Senior Member
 
Join Date: May 2013
Location: South of France
Posts: 1,468
Default

This line of code, added to the file "default.lua", creates an axis command for the mixture control lever:
Code:
{action = 3044, cockpit_device_id  = devices.MOTOR_SYSTEM, name = _('Mixture Setting Axis')},
It needs to be added near the bottom of the file after these lines:
Code:
-- joystick axes 
join(res.axisCommands,{
but before this line
Code:
})
__________________
LeCuvier
Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
LeCuvier is offline   Reply With Quote
Old 07-25-2019, 08:25 AM   #3
Woodbuster
Junior Member
 
Woodbuster's Avatar
 
Join Date: Feb 2019
Posts: 51
Default

Quote:
Originally Posted by LeCuvier View Post
This line of code, added to the file "default.lua", creates an axis command for the mixture control lever:

It works fine.
Thank you very much
Woodbuster is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:43 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.