Dear forum members!
I want to use one key (for example the L-key) for two actions: a standard fs assignment (i.e. light switch) and an assignment of a third-party addon.
To achive this I tried to use a joystick button as a switch between two positions (x=P0,0,Cx510066C0,x00010001).
If the value is zero the L-key shall act like the standard light toggle (x=B66C0=0 76,8,65574,0).
When B66C0=1 the L-key shall work according to the assignment of the external program.
Unfortunately this idea doesn't meet my requirement. The assignment of the third-party program obtains higher priority than the fs assignment, the program doesn't recognize the toggle switch and therefore pushing the L-key always leads to executing the command of the external program. I thought of assigning another key for the instruction "toggle light" (24,8 for example) but I worry that this is a dead end.
Does a solution exist where I can say: when pushing the key "76,8" and the bit is set accordingly process the content of the key "24,8" - else do the external function? Or is there another possibility I haven't thought about?
The goal is to use only 1 key conditionally for a standard assignment and an assignment of an external program.
Thanks in advance
a simFlyer looking for help