Jump to content

How to add new controller to control lights in A10C-2?


Recommended Posts

In the controls tab for the A10c-2 there are myriad functions that can be controlled. However, under the axes the number of bindable controls are limited.

A10joystickaxes defaultCROP.jpg

1117205076_A10joystickaxesdefault.thumb. I built a button box with 6 potentiometers as axes based on Arduino Leonardo. It works great for the Apache. I can assign the potentiometers to various lighting functions which are controlled by dial. However in the A10 I cannot figure out to get additional axes in the controls dialog.

Help?

4930K @ 4.5, 32g ram, TitanPascal

Link to comment
Share on other sites

I added some axis commands for the A-10C as part of the keybinds project:

https://github.com/Munkwolf/dcs-community-keybinds

The files in the project are formatted for use with Quaggles mod:

https://github.com/Quaggles/dcs-input-command-injector

Added commands for the A-10C:

https://github.com/Munkwolf/dcs-community-keybinds/blob/main/InputCommands/A-10C_2/Input/A-10C_2/joystick/default.lua

Axis commands added:

	axisCommands = {
		{action = 3013, cockpit_device_id = 38, name = _('Yaw Trim')},
				
		{action = 3009, cockpit_device_id = 4, name = _('CMSP - Adjust Display Brightness')},
		{action = 3006, cockpit_device_id = 5, name = _('CMSC - Adjust Display Brightness')},
		{action = 3007, cockpit_device_id = 5, name = _('CMSC - Volume Knob')},
		{action = 3006, cockpit_device_id = 37, name = _('Throttle Friction Control')},
		{action = 3003, cockpit_device_id = 41, name = _('Environmental - Canopy Defog')},
		{action = 3009, cockpit_device_id = 41, name = _('Environmental - Flow Level Control')},
		{action = 3013, cockpit_device_id = 41, name = _('Environmental - Temp Level Control')},

		{action = 3001, cockpit_device_id = 35, name = _('Altimeter - Set Pressure (Relative)')},

		{action = 3009, cockpit_device_id = 49, name = _('Lighting Panel - Formation Lights')},
		{action = 3001, cockpit_device_id = 49, name = _('Lighting Panel - Engine Instrument Lights')},
		{action = 3002, cockpit_device_id = 49, name = _('Lighting Panel - Flight Instrument Lights')},
		{action = 3003, cockpit_device_id = 49, name = _('Lighting Panel - Auxiliary Instrument Lights')},
		{action = 3005, cockpit_device_id = 49, name = _('Lighting Panel - Flood Lights')},
		{action = 3006, cockpit_device_id = 49, name = _('Lighting Panel - Console Lights')},
		{action = 3015, cockpit_device_id = 49, name = _('Lighting Panel - Refuel Status Indexer Lights')},
		{action = 3016, cockpit_device_id = 49, name = _('Lighting Panel - Weapon Station Lights. No function')},
		{action = 3018, cockpit_device_id = 49, name = _('Lighting Panel - Refueling Lighting Dial')},

		{action = 3001, cockpit_device_id = 45, name = _('HSI - Heading Set Knob (Relative)')},
		{action = 3002, cockpit_device_id = 45, name = _('HSI - Course Set Knob (Relative)')},

		{action = 3001, cockpit_device_id = 47, name = _('ADI - Pitch Trim Knob')},
		{action = 3003, cockpit_device_id = 48, name = _('SAI - Standby ADI Knob rotary')},

		{action = 3005, cockpit_device_id = 74, name = _('TACAN - Audio Volume')},
		{action = 3001, cockpit_device_id = 52, name = _('Stall - Volume')},
		{action = 3002, cockpit_device_id = 52, name = _('Stall - Peak Volume')},

		{action = 3011, cockpit_device_id = 54, name = _('UHF Radio - Volume')},
		{action = 3005, cockpit_device_id = 55, name = _('VHF/AM Radio - Volume')},
		{action = 3005, cockpit_device_id = 56, name = _('VHF/FM Radio - Volume')},

		{action = 3002, cockpit_device_id = 58, name = _('Intercom - INT Volume')},
		{action = 3004, cockpit_device_id = 58, name = _('Intercom - FM Volume')},
		{action = 3006, cockpit_device_id = 58, name = _('Intercom - VHF Volume')},
		{action = 3008, cockpit_device_id = 58, name = _('Intercom - UHF Volume')},
		{action = 3010, cockpit_device_id = 58, name = _('Intercom - AIM Volume')},
		{action = 3012, cockpit_device_id = 58, name = _('Intercom - IFF Volume')},
		{action = 3014, cockpit_device_id = 58, name = _('Intercom - ILS Volume')},
		{action = 3016, cockpit_device_id = 58, name = _('Intercom - TCN Volume')},
		{action = 3018, cockpit_device_id = 58, name = _('Intercom - Master Volume')},

		{action = 3005, cockpit_device_id = 44, name = _('HARS - Latitude Dial')},
		{action = 3007, cockpit_device_id = 44, name = _('HARS - Push-to-sync rotary')},
		{action = 3001, cockpit_device_id = 29, name = _('RWR - Display Brightness')},
		{action = 3013, cockpit_device_id = 38, name = _('SAS - Yaw Trim')},
	}

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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