The simFlight Network Forums

# assign 2 functions to a button

## Recommended Posts

Hello
I would like to assign 2 functions to the same button
I created a Mouse macro for the FD
11 = A320_FD_L = RX40000004.3
12 = A320_FD_R = RX40000021.3
I will want to assign them to a single button in my profile. (the numbers do not match, because I made a copy of a piece of the profile)
69 =; ***************************
70 =; FD L R ON
71 =; ***************************
72 = P2,23, CM1: 11,0 - {Macro A320NS: A320_FD_L} -
73 = P2,23, CM1: 11,0 - {Macro A320NS: A320_FD_L} -
74 =; ***************************
75 =; FD L R OFF
76 =; ***************************
78 = U2,23, CM1: 11,0 - {Macro A320NS: A320_FD_L} -
79 = U2,23, CM1: 11,0 - {Macro A320NS: A320_FD_L} -

The 11 wished to say what I did not find the information
cordially

##### Share on other sites

I found the 11 it is the number of the line which corresponds to the function so replace it by 12 for A320_FD_R
69 =; ***************************
70 =; FD L R ON
71 =; ***************************
72 = P2,23, CM1: 11,0 - {Macro A320NS: A320_FD_L} -
73 = P2,23, CM1: 12,0 - {Macro A320NS: A320_FD_R} -
74 =; ***************************
75 =; FD L R OFF
76 =; ***************************
78 = U2,23, CM1: 11,0 - {Macro A320NS: A320_FD_L} -
79 = U2,23, CM1: 12,0 - {Macro A320NS: A320_FD_R} -

##### Share on other sites

8 hours ago, target11 said:

I found the 11 it is the number of the line which corresponds to the function

Yes, as described (though admittedly not very clearly) in the section Macro Control References in the FSUIPC Advanced User's guide (about page 37).

CMm:n,p

C = Control (instead of eg K for Keypress)
M = Macro
m = file number in the [Macros] list of FSUIPC INI
n = entry number in the file
p = parameter

Pete

Hello,

## Create an account

Register a new account