I'm having a similar problem. None of the switches on my HOTAS stick and throttle work when I'm in the F1 cockpit view, but they work in the F2 external view. It happens when I'm flying the Su-25T in 1.2.2. I haven't tried the alt-tab trick, I'll see if it helps.
Edit: Alt-Tab didn't have an effect. My specs follow.
DCSW 1.2.2.X with DCS:WH 1.2.2.X, DCS:BS2 1.2.2.X (Upgrade), FC3 1.2.2.X, and DCS:CA 1.2.2.X
DxDiag attached. DxDiag.txt