Often what you have mapped to the stick depends greatly on what you fly and how you fly it.
For example, I fly the P-38L about 90% of the time. I use a Saitek Cyborg Evo stick.
I have the trigger set to fire the machine guns only (primary weapon), I have the #2 button (center on top of the stick) set to fire the secondary weapon (cannon, or bomb/rocket release/fire) only, and I simply use my thumb and forefinger when I want both. I have the button on the left set to lower flaps and the button on the right set to raise them. There are two other buttons on the very top of my stick, above the view hat, the left is dive flaps, the right is WEP.
On the base of my stick are 6 more buttons. Four I have set for the various radio channels. One is set to toggle combat trim for planes other than the P-38L. The other is set for gunsight zoom.
After that, in flight, I only use the keyboard for typing messages and selecting weapons or map viewing, or on the runway, for the engine start and shutdown, and brakes.
I've been doing it that way for years. Even after not flying for over a year, the setup became something I did without thought after flying again for an hour.
I do not use padlock or anything of that nature, I don't even remember how to turn it on. I use instant view as opposed to any other view style. My 8 way hat is set to look level in a 360 degree view divided into 45 degree zones, plus forward up and rear up. If I want to look up in any of the other directions, I use my hat switch and the number 5 on the keypad.
I set my convergence to maximum on all guns. Most do not do this and it is a matter of preference.
Recently I began using the machine guns only on the P-38L unless I was real close and well set up. For me, the jury is still out on this idea, because the four 50's don't hit real hard without that 20 MM cannon. On everything else (I do fly the F4U, the P-47, and a couple of FW variants at times, along with the TA-152) I fire all guns together.
I try to limit myself to 3 second bursts. Unless I'm attacking a bomber and have a good gun solution on it.