Jump to content

Axis bind for rotaries (lights, course, ..)


Recommended Posts

Ok, I found the button lines in Default.lua, but well, I didn't know how to use this info to add new axis command in the file :

 

{pressed = device_commands.Button_130, cockpit_device_id = devices.LIGHTS, value_pressed = -1, name = _('Instrument lighting Decrease')..' '..rearCptSuffix, category = {_('Illumination'), _('Rear Cockpit')}},
{pressed = device_commands.Button_130, cockpit_device_id = devices.LIGHTS, value_pressed = 1, name = _('Instrument lighting Increase')..' '..rearCptSuffix, category = {_('Illumination'), _('Rear Cockpit')}},

{pressed = device_commands.Button_128, cockpit_device_id = devices.LIGHTS, value_pressed = -1, name = _('Console integral lighting Decrease')..' '..rearCptSuffix, category = {_('Illumination'), _('Rear Cockpit')}},
{pressed = device_commands.Button_128, cockpit_device_id = devices.LIGHTS, value_pressed = 1, name = _('Console integral lighting Increase')..' '..rearCptSuffix, category = {_('Illumination'), _('Rear Cockpit')}},

 

I tried to get some inspiration in similar topik for A-10C II or Mi-8, but well, not so much luck until now.

 

If anyone, or a dev, can help, that would be greatly appreciated ^^

 

Thanks !

[sIGPIC][/sIGPIC]

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...