thanks for looking into this matter further Pete.
I realise that this is not right. I am using Mobiflight to write the values in the offset based on buttons connected to an Arduino, and I cannot find the log file, though the Mobiflight console window shows the buttons being pressed. attached are the FSUIPC logs and INI files. I have three buttons programmed in Mobiflight as follows:
Button 1: on press : write 0x00014000 to 0x29F0; on release : write 0x00024000 to 0x29F0
Button 2: on press : write 0x00014001 to 0x29F0; on release : write 0x00024001 to 0x29F0
Button 3: on press : write 0x00004002 to 0x29F0; on release : do nothing
with the FSUIPC dialog open on the Buttons and Switches page, flicking between button 1 and 2 is instant - the button change shows up in the tab. Getting a response to pressing button 3 is intermittent. I may not be reading the log quite right, but it looks like while offset 0x29F0 is updated with the right value (0x00004002), the button press action isn't (I hops this make sense).
the reason I am keen to get the Toggle working is so I could use this with encoders, and unlike for buttons, the Mobiflight app has no option for 'release' - just one action for 'press'). so at present I am using VJoy - but I would like to use the FSUIPC virtual joystick if I can.
again, apologies for not being able to find the Mobiflight log. If you want to rule out Mobiflight I'll be happy to try another option for writing the offsets if you can point me in the right direction.
thanks again for your help Pete, much appreciated.
Regards - Ran
PS. I have written down the sequence of buttons I pressed and results - I can send this to you to compare with the log file if this is any help
FSUIPC6.ini
FSUIPC6.2 - Copy.log