Search found 6 matches

by willfred
16 Sep 2011, 15:32
Forum: HOW-TOs and documentation
Topic: Please help with scripts helicopter command.
Replies: 8
Views: 22616

Re: Please help with scripts helicopter command.

Ok never mind I think I got it, when using the HIDMacros.Axis2Float i just increased the range and it increased the sensitivity.

From
HIDMacros.Axis2Float(val, -100, 100)
to
HIDMacros.Axis2Float(val, -120, 120)

fred
by willfred
16 Sep 2011, 13:22
Forum: HOW-TOs and documentation
Topic: Please help with scripts helicopter command.
Replies: 8
Views: 22616

Re: Please help with scripts helicopter command.

Hello, Petr Is it possible to increase sensitivity of a control, for example the x or y axis, via HIDMacros? Becasue I dont want to use the FSX settings, as the sensitivity is not big enough for my applications. By the way, I have been taking a little break on my project. But as soon as I return I´l...
by willfred
02 Sep 2011, 15:54
Forum: HOW-TOs and documentation
Topic: Please help with scripts helicopter command.
Replies: 8
Views: 22616

Re: Please help with scripts helicopter command.

Hello, Its been a long time, but I think I have managed to write the script. Basically, when the throttle position is at a certain point the script will remap the rudder so that the center of the rudder is slightly to the right. Sub FSXThrottle(val) HIDMacros.SetFSXVariable "RUDDER POSITION", "PERCE...
by willfred
16 Aug 2011, 13:44
Forum: HOW-TOs and documentation
Topic: Please help with scripts helicopter command.
Replies: 8
Views: 22616

Re: Please help with scripts helicopter command.

Hello, I thought I got the grasp with the RegisterAxisEvent, but maybe not so, I tried using it like this Sub throttle(dev, axis, val) Dim colective colective = HIDMacros.GetAxis ("USB JOYSTICK, "Y") if colective >= 2000 then HIDMacros.FSXEvent "RUDDER_RIGHT", 0 else HIDMacros.FSXEvent "RUDDER_CENTE...
by willfred
16 Aug 2011, 13:31
Forum: HOW-TOs and documentation
Topic: Please help with scripts helicopter command.
Replies: 8
Views: 22616

Re: Please help with scripts helicopter command.

Hello Petr thanks for the fast reply. one of the problems I am facing is that I can´t get HIDMacros to constantly read the throttle position and apply the rudder automatic. I have the following code, which in its basic it does what I want. Low throttle position means no rudder, higher throttle posit...
by willfred
15 Aug 2011, 21:30
Forum: HOW-TOs and documentation
Topic: Please help with scripts helicopter command.
Replies: 8
Views: 22616

Please help with scripts helicopter command.

Hello everyone, I am trying to use HID Macro to add induced torque on a helicopter model. What I am trying to do is the higher the throttle value a certain factor would be added to the right rudder pedal, and with a low throttle value the factor would be zero. I have been messing around for a few da...