Thnx Pete for reply, but this I think not solve my problem. I just show what I wanto to do, maybe we'll find some solution :)
1. Defined with Mouse Macro 3rd party togle switch (FSD Seneca) -> working.
2. Due to my HW switch position on my HW Board (not Joy device) I'll read status of this HW switch to my C++ application -> no problem.
In this moment I've tried find solution, how will read FSUIPC my HW switch position what isn't recognised as JOY Button/KeyPress. Thinking to write some value from my C++ appl. to user defined offsets. I've select 66C0.
3. I've wrote from my C++ application to offset 66C0 for examp. 0x1 -> no problem.
And now is the question, how join this offset 66C0 (0x0-OFF/0x1-ON) to switch that Seneca togle switch MouseMacro. When I've try solve this In FSUIPC dialog, I must define JoyButton/Keypress but I haven't one. I want run this MouseMacro due that 66C0 offset value. Maybe using LUA?
Hope I now explained this problem better :) Thnx for any comments...
Ivan