Capt Zeen Posted September 7, 2015 Posted September 7, 2015 Hello all ! I am trying to define key asignaments to the undefined MI-8 commands and i have problems when i try to asign keys to a multiposition switch. Lets see. I can do something like this: {combos = {{key = '9', reformers = {'RWin','LWin'}}}, down = device_commands.Button_1, cockpit_device_id = devices.R_828, value_down = 0.1, name = _('R-828 Radio channel selector right'), category = _("Added by CaptZeen")}, {combos = {{key = '9', reformers = {'RWin','LWin','LShift'}}}, down = device_commands.Button_1, cockpit_device_id = devices.R_828, value_down = 0.0, name = _('R-828 Radio channel selector center'), category = _("Added by CaptZeen")}, {combos = {{key = '8', reformers = {'RWin','LWin'}}}, down = device_commands.Button_1, cockpit_device_id = devices.R_828, value_down = -0.1, name = _('R-828 Radio channel selector left'), category = _("Added by CaptZeen")} But width this, only can move one position on the selector to the right and one to the left. It seems like the value down 0.1 is absolute, not a increment. I can create a key asignament for each position, for example 0.2, 0.3, etc, but for big selectors can be a pain! There is no way to create a key assignament, and put a value as an increment, or decrement instead absolute values? Thanks a lot Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
Recommended Posts