Jump to content
The simFlight Network Forums

Flapsfullsend

new Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Flapsfullsend

  1. Just getting my legs under me with pilotsdeck / fsuipc. With devmode and hubhop I was able to figure out some basics. Things fell apart trying to setup my streamdeck+ for the Grand Duke starter however. I don't really know what I'm looking at here but if anyone could help point me in the right direction I'd really appreciate it. The magneto rotary has 4 positions with (0 off, 4 start) and I am able to set the positions without issue. The problem is that the sim (MSFS 2024) seems to only actually run the starter with a mouse click+drag+hold using the code below. Ultimately I'd like to put that into a pilotsdeck composite action but not sure where to even start. (M:Event) 'WheelUp' scmi 0 == if{ (L:BKSQ_IgnitionPosition_1, number) 4 < if{ (L:BKSQ_IgnitionPosition_1, number) 1 + (>L:BKSQ_IgnitionPosition_1, number) } (E:SIMULATION TIME, seconds) (>L:starterKnobReturnTime_L, number) } els{ (M:Event) 'WheelDown' scmi 0 == if{ (L:BKSQ_IgnitionPosition_1, number) 0 > if{ (L:BKSQ_IgnitionPosition_1, number) 1 - (>L:BKSQ_IgnitionPosition_1, number) } } els{ (M:Event) 'Lock' scmi 0 == if{ (M:RelativeX) (>O:_LastX) } els{ (M:Event) 'Unlock' scmi 0 == if{ 0 (>O:_LastX) } els{ (M:Event) 'LeftDrag' scmi 0 == if{ (M:RelativeX) (O:_LastX) - sp0 0.008 0.07 0.05 3 (M:InputType) case (>O:_InputThreshold) l0 abs (O:_InputThreshold) > if{ l0 (O:_InputThreshold) / abs flr sp1 l0 (O:_InputThreshold) % abs sp2 :1 (* for loop *) l1 0 <= if{ g2 } l1 -- sp1 l0 0 > if{ (L:BKSQ_IgnitionPosition_1, number) 4 < if{ (L:BKSQ_IgnitionPosition_1, number) 1 + (>L:BKSQ_IgnitionPosition_1, number) } (E:SIMULATION TIME, seconds) (>L:starterKnobReturnTime_L, number) } els{ (L:BKSQ_IgnitionPosition_1, number) 0 > if{ (L:BKSQ_IgnitionPosition_1, number) 1 - (>L:BKSQ_IgnitionPosition_1, number) } } g1 :2 l0 0 > if{ (M:RelativeX) l2 - (>O:_LastX) } els{ (M:RelativeX) l2 + (>O:_LastX) } } } } } } } quit
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.