You need to add a /H hold modifier infront of the command to simulate that button being pressed down. In this section of my profile I have:
Rem
Rem Weapon Commands
Rem The trigger fires the primary weapon at the first stage and both primary and secondary at the second stage.
Rem
BTN TG1 /H Fire_Primary_Weapon
BTN TG2 /H Fire_Both
BTN S2 /H Fire_Secondary_Weapon
Rem
Take a look at my profile which you can download
here You could use the macro from it to make your own joystick file if you wanted to and you'll see how I've mapped some buttons (including view controls) with this /H modifier.