Thanks Ice. Now I see the problem too. The function for aileron trim is duplicated in the .key file. Shift R/L arrow and Shift-Alt R/L arrow are both assigned to 'AFAileronTrim'. My guess is one of those was supposed to be the rudder trim function. If I edited the .key file and changed one pair of the 'AFAileronTrim' right/left commands to something like 'AFRudderTrim' right & left, would that do it? In other words, would then a rudder trim R/L setting show up in the controllers assignment page instead of two pairs of aileron trim assignments?
I would conclude from the post above that you are not familiar with the format of the callback lines used in the .key file, correct? For further info,
check out this thread but for now, here's a quick primer.
Here is your callback line:
AFAileronTrimLeft -1 0 0XCB 4 0 0 1 "Trim-Aileron Left"AFAileronTrimLeft - this is the actual callback. A "callback" is just a fancy name for "command."
-1 0 - 1st part (-1) is the 2D cockpit ID but is also a marker for which sound to play when the switch is activated. No idea on the second digit (0)
0XCB - keyboard command or keys used, in this case it is Cursor Left or Arrow Left on the arrow keys
4 - modifier, in this case it is ALT. Combined with the above, the key combo for this is ALT+Left Arrow
0 0 - same as the above two examples but for more complex key combos
1 - determines whether this line can be seen, seen and edited, or be hidden once in the 2D UI screen
"Trim-Aileron Left" - this is the description you see in the 2D UI screen. This can be changed to anything and will not compromise the callback or the key combination used for that callback
So you see, simply renaming AFAileronTrim to AFRudderTrim will not work. I am not sure why you have two lines for AFAileronTrim and unless you're sure what the second or subsequent lines do, I would rather leave it alone until you are more familiar with how the .key file works. Instead, add these two line at the bottom of your .key file:
SimTrimYawLeft -1 0 0XFFFFFFFF 0 0 0 1 - "Trim - Rudder Left"
SimTrimYawLeft -1 0 0XFFFFFFFF 0 0 0 1 - "Trim - Rudder Right" What this does is adds two callbacks, and the 0XFFFFFFFF part simply means the callback will show as "No Key Assigned" in the 2D UI screen. If you read the thread I linked above and are comfortable with the concept, you can set your callback's key combination here, or if not, save your .key file under a new file name, open BMS, load up this new .key file, scroll down to the bottom, find the Trim - Rudder commands, and assign a key combination for them. Do remember that you will need to check first if the key combination you want is not assigned to any other callbacks. When done, save, and you're all set.
I hope this helps and you get the results you want!