Jump to content

COCKPIT : USE MOUSEWHEEL ON SOME BUTTONS


dapits

Recommended Posts

Hello :)

 

A LITTLE MOD TO USE MOUSEWHEEL ON SOME COCKPIT BUTTON THERE, WAITING FOR FUTURE UPDATES :)

 

I was not very pleased at having to click hundreds of times on a button just to change the backlights of floodlights.:doh:

 

***** IF YOU WANT TO DO THIS, MAKE A BACKUP OF THE .lua FILE FIRST ! ******

 

HERE IS MY MODIFIED LUA (if you want to give it a try):music_whistling: :

clickabledata.lua

 

This is what I do :

 

in this folder : \Mods\aircraft\M-2000C\Cockpit

 

open this : clickabledata.lua

 

Any command you want to change in a rotating mousewheel command ;

you replace : multiposition_switch_limited --> by that : default_axis_limited

 

It works, but be aware that if you go over the max value, (example : panel backlights)

then the lights turn off, no problem, just turn the other way and you have them again.:music_whistling:

 

Personnaly, I changed all the buttons for lights (panels/flood) and the Radar Altimeter height selection as well as the heading bug selector :D

 

Thats all folks... HAPPY NEW YEAR :holiday:.

 

 

cf attached screen shot

1967279104_MAKEMOUSEWHEELCOMMAND.thumb.jpg.bdddf34bfc1f4ee6b2aeb10078685ee4.jpg


Edited by dapits
Link to comment
Share on other sites

Is it also possible to use an axis on a controller?

 

I would suppose so, YES..

 

it looks like the command is Something like this : function default_axis :dunno:

 

But I did not investigate/experiment that way, so I dont know how you would choose which axis...

(I only have a T FLIGHT HOTAS X joystick, so I am pretty limited in AXISes I can afford...) :hmm:

 

(the type of usable commands are at the beginning of the clikable.lua file...):book:

 

I guess you would have to experiment that yourself.... :juggle:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...