Hey all,
Is it possible... to make 'Mouse Drag' work two different controls in two different motion 'directions'?
Example; Left Ailerons and Right Ailerons using Mouse 'LeftDrag'?
I have it working with LeftDrag and RightDrag just fine, but wondered... What if you could 'move the mouse left drag' to the left and it operates the left direction input of ailerons, and if you move it back to the right, not taking your finger off the mouse click drag 'moment', you move the ailerons 'back' the other way via Aileron_Right command.
Is it possible?
This is what I have right now... Mouse wheel manages elevators. Right drag is right aileron. Left drag is left aileron.
This is for those quick test flights when you dont want to break out the joystick and throttle quad to do a quick test flight and you are tired of crashing because you cannot maneuver well enough with the keyboard arrow keys...
Would be REALLY cool if you could do all four axis for all four directions. Slide upwards and you have down elevator. Slide downwards and you are pulling back. Left and right for left and right elevator.
Is it possible... to make 'Mouse Drag' work two different controls in two different motion 'directions'?
Example; Left Ailerons and Right Ailerons using Mouse 'LeftDrag'?
I have it working with LeftDrag and RightDrag just fine, but wondered... What if you could 'move the mouse left drag' to the left and it operates the left direction input of ailerons, and if you move it back to the right, not taking your finger off the mouse click drag 'moment', you move the ailerons 'back' the other way via Aileron_Right command.
Is it possible?
This is what I have right now... Mouse wheel manages elevators. Right drag is right aileron. Left drag is left aileron.
Code:
// JOYSTICK FLY BY WIRE TEST
<Area Left="610" Top="440" Right="870" Bottom="620">
<Visible>(L:TIER2 CLICK LAYER,enum) 0 == </Visible>
<Tooltip>AUX FLIGHT CONTROL</Tooltip>
<Cursor Type="Hand"/>
<Click Kind="LeftDrag+RightDrag+WheelUp+WheelDown">
(M:Event) 'LeftDrag' scmp 0 ==
if{ 1 (>L:XMLSND61,enum)
(>K:AILERONS_LEFT) }
(M:Event) 'RightDrag' scmp 0 ==
if{ 1 (>L:XMLSND61,enum)
(>K:AILERONS_RIGHT) }
(M:Event) 'WheelUp' scmp 0 ==
if{ 1 (>L:XMLSND61,enum)
(>K:ELEV_DOWN) }
(M:Event) 'WheelDown' scmp 0 ==
if{ 1 (>L:XMLSND61,enum)
(>K:ELEV_UP) }
</Click>
</Area>
Would be REALLY cool if you could do all four axis for all four directions. Slide upwards and you have down elevator. Slide downwards and you are pulling back. Left and right for left and right elevator.