Jump to content

[FIXED] Thrust axis no longer saving in diff.lua


Home Fries

Recommended Posts

I just encountered the following with the Jeff: when I fired up my profile the throttle wasn't working. Thinking it was a remapped command, I reassigned the throttle to the Thrust axis, then re-saved the diff.lua. The Z axis as Thrust does not show up either in the diff.lua for the controller, nor the saved diff.lua. I use TARGET, so the main lua would be default.lua.

 

Here are the axis commands in the original diff.lua

local diff = {
["axisDiffs"] = {
	["a2003cdnil"] = {
		["name"] = "Rudder",
		["removed"] = {
			[1] = {
				["key"] = "JOY_RZ",
			},
		},
	},
	["a2012cdnil"] = {
		["added"] = {
			[1] = {
				["key"] = "JOY_SLIDER2",
			},
		},
		["name"] = "Zoom View",
	},
	["a2024cdnil"] = {
		["changed"] = {
			[1] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
						[2] = 0.05,
						[3] = 0.1,
						[4] = 0.17,
						[5] = 0.28,
						[6] = 0.4,
						[7] = 0.52,
						[8] = 0.64,
						[9] = 0.76,
						[10] = 0.88,
						[11] = 1,
					},
					["deadzone"] = 0,
					["invert"] = false,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = true,
				},
				["key"] = "JOY_Z",
			},
		},
		["name"] = "Thrust",
	},
	["a2028cdnil"] = {
		["added"] = {
			[1] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
					},
					["deadzone"] = 0,
					["invert"] = true,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = false,
				},
				["key"] = "JOY_RZ",
			},
			[2] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
					},
					["deadzone"] = 0,
					["invert"] = true,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = false,
				},
				["key"] = "JOY_SLIDER2",
				["reformers"] = {
					[1] = "JOY_BTN30",
				},
			},
		},
		["name"] = "T6_Axis: Antenna Elevation",
		["removed"] = {
			[1] = {
				["key"] = "JOY_RX",
			},
		},
	},
	["a2033cdnil"] = {
		["added"] = {
			[1] = {
				["key"] = "JOY_RX",
			},
		},
		["name"] = "TDC Slew Horizontal",
	},
	["a2034cdnil"] = {
		["added"] = {
			[1] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
					},
					["deadzone"] = 0,
					["invert"] = true,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = false,
				},
				["key"] = "JOY_RY",
			},
		},
		["name"] = "TDC Slew Vertical",
	},
},

 

And the axis section in the latest diff.lua (the gap is the missing thrust axis since I used file compare)

local diff = {
["axisDiffs"] = {
	["a2003cdnil"] = {
		["name"] = "Rudder",
		["removed"] = {
			[1] = {
				["key"] = "JOY_RZ",
			},
		},
	},
	["a2012cdnil"] = {
		["added"] = {
			[1] = {
				["key"] = "JOY_SLIDER2",
			},
		},
		["name"] = "Zoom View",
	},
				
			  
	   
			   
				   
		   
			  
			 
			  
			  
			 
			  
			  
			  
			   
			
	
				   
					 
					  
					  
					
   
				   
  
 
				   

	["a2028cdnil"] = {
		["added"] = {
			[1] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
					},
					["deadzone"] = 0,
					["invert"] = true,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = false,
				},
				["key"] = "JOY_RZ",
			},
			[2] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
					},
					["deadzone"] = 0,
					["invert"] = true,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = false,
				},
				["key"] = "JOY_SLIDER2",
				["reformers"] = {
					[1] = "JOY_BTN30",
				},
			},
		},
		["name"] = "T6_Axis: Antenna Elevation",
		["removed"] = {
			[1] = {
				["key"] = "JOY_RX",
			},
		},
	},
	["a2033cdnil"] = {
		["added"] = {
			[1] = {
				["key"] = "JOY_RX",
			},
		},
		["name"] = "TDC Slew Horizontal",
	},
	["a2034cdnil"] = {
		["added"] = {
			[1] = {
				["filter"] = {
					["curvature"] = {
						[1] = 0,
					},
					["deadzone"] = 0,
					["invert"] = true,
					["saturationX"] = 1,
					["saturationY"] = 1,
					["slider"] = false,
				},
				["key"] = "JOY_RY",
			},
		},
		["name"] = "TDC Slew Vertical",
	},
},


Edited by uboats
Link to comment
Share on other sites

try this https://forums.eagle.ru/showthread.php?t=283573

or try to rename the diff file in saved game/.../config/ and then rebind everything

[sIGPIC][/sIGPIC]

My DCS Mods, Skins, Utilities and Scripts

 

| Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD |

| TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |

Link to comment
Share on other sites

  • Recently Browsing   0 members

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