Jump to content

HSI and Course regulator


Recommended Posts

Hello friends!

I have an old problem..

I construct Joy with encoders.

I want to use them for course regulator and HSI (pressure regulator)

I assigned task to the the button1 (encoder left) and task to the button2 (encoder right).

button1 must rotate HSI regulator left, and reduce pressure value

button2 must rotate HSI regulator right, and increase pressure value

 

But in reality, when i rotate the encoder, the regulator on the screan rotates so slowly that the pressure value practically do not change.

 

How I can change speed of regulator rotate ?

May be some parametrs in some .lua file change it.

 

I asked many times in many topics, but nobody can help me

And then I created new topic.

Please, write what you think about my problem, and how solve this problem:book:

Link to comment
Share on other sites

Which module? It might be possible to effectively increase the sensitivity by editing what the button does.

 

 

E.g.

{pressed=device_commands.NPPsetCourse_kb,cockpit_device_id=devices.KSI, value_pressed=  0.005, value_up=0.0, action=device_commands.NPPsetCourse,name=_('NPP Course set +'),category=_('Avionics')},

The 0.005 is effectively a sensitivity

Link to comment
Share on other sites

Which module? It might be possible to effectively increase the sensitivity by editing what the button does.

 

 

E.g.

{pressed=device_commands.NPPsetCourse_kb,cockpit_device_id=devices.KSI, value_pressed=  0.005, value_up=0.0, action=device_commands.NPPsetCourse,name=_('NPP Course set +'),category=_('Avionics')},

The 0.005 is effectively a sensitivity

 

Thx!!!

Su-25 module

tell me please file name of this string!

And I hope that this file in User\Saved Games\ DCS ....

Link to comment
Share on other sites

I think it cannot be helped for Su-25A, it's inputs have no associated number.

 

I was confused looking for "HSI" which is an instrument for navigation. I think you mean altimeter pressure knob. There is no control at all for HSI course in Su-25A or Su-25T. File lines look like this:

 

{combos = {{key = '=', reformers = {'RShift'}}}, pressed = iCommandAltimeterPressureIncrease,    up = iCommandAltimeterPressureStop, name = _('Altimeter Pressure Increase Su-25T'), category = _('Systems')},
{combos = {{key = '-', reformers = {'RShift'}}}, pressed = iCommandAltimeterPressureDecrease, up = iCommandAltimeterPressureStop, name = _('Altimeter Pressure Decrease Su-25T'), category = _('Systems')},

\DCS World\Mods\aircraft\Su-25A\Input\su-25\keyboard\default.lua

 

There is some command "increase keyboard rate" which maybe it gives the command less or more often. I don't know. It looks like this control goes only at one speed and only simple commands "more" and "less".

Link to comment
Share on other sites

I think it cannot be helped for Su-25A, it's inputs have no associated number.

 

I was confused looking for "HSI" which is an instrument for navigation. I think you mean altimeter pressure knob. There is no control at all for HSI course in Su-25A or Su-25T. File lines look like this:

 

{combos = {{key = '=', reformers = {'RShift'}}}, pressed = iCommandAltimeterPressureIncrease,    up = iCommandAltimeterPressureStop, name = _('Altimeter Pressure Increase Su-25T'), category = _('Systems')},
{combos = {{key = '-', reformers = {'RShift'}}}, pressed = iCommandAltimeterPressureDecrease, up = iCommandAltimeterPressureStop, name = _('Altimeter Pressure Decrease Su-25T'), category = _('Systems')},

\DCS World\Mods\aircraft\Su-25A\Input\su-25\keyboard\default.lua

 

There is some command "increase keyboard rate" which maybe it gives the command less or more often. I don't know. It looks like this control goes only at one speed and only simple commands "more" and "less".

 

Yes, i found this command " increase keybord rate" and i know, that i can write command in file default.lua. But i didn't found how I can do it.


Edited by jazzymanserg
Link to comment
Share on other sites

So i need make PAUSE in 500ms between

presssed=iCommandAltimeterPressureIncrease

and

up = iCommandAltimeterPressureStop

 

in

{combos = {{key = '=', reformers = {'RShift'}}}, pressed = iCommandAltimeterPressureIncrease, up = iCommandAltimeterPressureStop, name = _('Altimeter Pressure Increase Su-25T'), category = _('Systems')},

 

but i can do it, only pressed, down, and up....

Link to comment
Share on other sites

Use Autohotkey I can make script

 

Joy1::
x:=1
while x<50
{ 
      Send {RShift}{=}
             x++
}
return
Joy2::
x:=1
while x<50
{ 
      Send {RShift}{-}
             x++
}
return

Joy1 and Joy2 - its Encoders buttons

 

Its help. But for every module I must make new script file and launch them....


Edited by jazzymanserg
Link to comment
Share on other sites

  • Recently Browsing   0 members

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