Jump to content

Recommended Posts

Posted

hello

 

I try to use a Rotary to adjust the light from the lighting panel.

I d like to use de Axis command to do this.

Is it possible to define the ''orientation'' of an axe when push/pull it ?

exemple : Joy_X+ , Joy_X-

with this i will can assign a command for increase or decrase the light :

axisCommands = {

{combos = {{key = "JOY_Y"}, }, action = iCommandPlaneAuxInstLightsIncrease, name = "Auxiliary Instruments Lights Increase", category = "Lighting Panel"},

{combos = {{key = "JOY_X"}, }, action = iCommandPlaneAuxInstLightsDecrease, name = "Auxiliary Instruments Lights Decrease", category = "Lighting Panel"},

},

 

with this code, wihtout a specific direction on the axis, when i push or pull the Y axis, the command will be Increase. When i push or pull the X axis, the Decrease.

I d like something lihe this :

Joy_Y+ = Increase

Joy_Y- = Decrease

 

is it possible ? if yes, what is the correct syntax ?

 

thanks

  • Recently Browsing   0 members

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