Camera State Set Not resetting the cockpit view

Hello everybody,

I’m making a custom numpad with an Arduino to control camera views, in MobiFlight when I use the code below the values get set correctly but the camera doesn’t move if the camera is on one of the Instrument views. It works if the camera is in one of the Pilot views.

What I want to do is simply simulate the numpad, I got the other buttons working but couldn’t get camera reset (Numpad 0) to work.

2 (>A:CAMERA STATE,Enum) 
1 (>A:CAMERA SUBSTATE,Enum) 
1 (>A:CAMERA VIEW TYPE AND INDEX:0,Enum) 
1 (>A:CAMERA VIEW TYPE AND INDEX:1,Enum)

I also tried 1 (>A:CAMERA ACTION COCKPIT VIEW RESET,bool) this snippet and got the same result as the first one.

Thanks in advance.