Munkwolf / dcs-community-keybinds

A collection of keybinds for DCS.
91 stars 26 forks source link

Mig-15bis RSI-6K axis #65

Open uvegil opened 10 months ago

uvegil commented 10 months ago

I've added these lines to the Mig-15bis\joystic\default.lua

axisCommands = { {cockpit_device_id = devices.CONTROL_INTERFACE, action = control_commands.Mig15_CommandFlapsHandle, name = ('Wing Flaps Handle'), category = {('Systems'), ('Custom')}}, {cockpit_device_id = devices.CONTROL_INTERFACE, action = control_commands.Mig15_CommandFrictionLever, name = ('Throttle Friction Lever'), category = {_('Custom')}}, {cockpit_device_id = devices.CONTROL_INTERFACE, action = control_commands.Mig15_CommandHydroGainLever, name = ('Hydro Booster Lever'), category = {_('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6K_VolumeEXT, name = ('RSI-6K Audio Volume Knob Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6K_SetTransmitterFrequencyEXT, name = ('RSI-6K Wave Control Handle Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6K_SetAntennaFrequencyEXT, name = ('RSI-6K Antenna Control Handle Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6KTransmitterFrequencyFix, name = ('RSI-6K Wave Control Handle Lock Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6KAntennaFrequencyFix, name = ('RSI-6K Antenna Control Handle Lock Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6K_SetReceiverFrequencyEXT, name = ('RSI-6K Receiver Tuning Knob Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6KReceiveARC, name = ('RSI-6K Receive/ARC Switch Custom'), category = {('RSI-6K Radio'), ('Custom')}}, {cockpit_device_id = devices.RSI_6K, action = control_commands.Mig15_Command_RSI6KForced, name = ('RSI-6K Forced Mode Switch Custom'), category = {('RSI-6K Radio'), ('Custom')}}, }

But only first new defined axis is showed in DCS controls settings, and the control doesn't move in the cockpit. The DCS log only showed the files are merged successfully 2023-11-10 14:39:20.278 INFO Quaggles.InputCommandInjector (Main): Detected loading of type: "Thrustmaster Virtual Game Controller (root)", filename: "./Mods/aircraft/MiG-15bis/Input/MiG-15bis/joystick/default.lua" 2023-11-10 14:39:20.278 INFO Quaggles.InputCommandInjector (Main): --Translated path: "C:/Users/uvegi/Saved Games/DCS/InputCommands/MiG-15bis/Input/MiG-15bis/joystick/default.lua" 2023-11-10 14:39:20.278 INFO Quaggles.InputCommandInjector (Main): ----Found merge at: "C:/Users/uvegi/Saved Games/DCS/InputCommands/MiG-15bis/Input/MiG-15bis/joystick/default.lua" 2023-11-10 14:39:20.280 INFO Quaggles.InputCommandInjector (Main): ------Merge successful

What I'm doing wrong?