astrograppa
-
Posts
18 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by astrograppa
-
-
The detection is based on normal polling rates on the joystick. but if the axis values are changing, any very small zone could be missed. You probably need to widen the zones. You could try increasing the poll rate (descrease the poll interval parameter) but take care or you risk affecting FS performance.
Please explain. Who says they don't? The internal handling is the same for assignments no matter where they are made.
Regards
Pete
[Axes.LSH MD-82 McDonnell Douglas]
0=1Y,500
1=1Y,B,1000,5500,L7:R,0
2=1Y,B,5500,9500,L5:R,0
3=1Y,B,9500,12500,L4:R
4=1Y,B,12500,16383,L6:R,0
In this setup, the command should go out only if the value of the axis remains inside for more than a certain time, otherwise it must be produced no command (i.e. axis value 6000 for 100 msec, no exit command; axixs value 6000 for 500 msec command LUA 5).
how can I do?
thanks
Fabio
-
WOW, you are very quick!!
excellent service!
Tomorrow I try the new release.... now I'm not at home.
Fabio
-
In fact, I use FS2004.
Do you correct the error the next update?
Thanks
Regards
Fabio Grappasonni
-
FSUIPC version is: 3.989e copy registered
-
Please explain. Who says they don't? The internal handling is the same for assignments no matter where they are made.
Regards
Pete
[buttons.LSH MD-82 McDonnell Douglas]
0=P0,13,CL6:R,0
1=P0,14,CL7:R,0
[LuaFiles]
4=tcas+c
5=tcas+d
6=tcas+m
7=tcas+u
[Axes.LSH MD-82 McDonnell Douglas]
0=1Y,500
1=1Y,U,1000,5500,L7:R,0
2=1Y,U,5500,9500,L5:R,0
3=1Y,U,9500,13000,L4:R,0
4=1Y,U,13000,16383,L6:R,0
In this example, the LUA command work in the buttons , but it does not work in the axis. Why?
-
Hi Pete,
when I set up an axis in more zone on the right-hand of the "Axis assignment", I need that the command is produced only if the value of the axis remains for some time (for example 1/2 sec) in the range, otherwise any command should not come out.
Why in this section the LUA commands don't work?
Thanks
Fabio Grappasonni
-
-
-
In the Axis assignement page is possible set up 10 zones but it's possible insert another lines in FSUIPC.ini file to set more zones? (i.e. 15-20 ranges of values in the single axis)
thanks
-
Thanks Pete,
you are a true genius and an endless resource of information.
I modified the program in this way and it works perfectly.
x = ipc.readUB(0x66C0)
if x == 0 then
ipc.control(65909)
else if x == 1 then
ipc.control(65909)
ipc.control(65911)
else if x == 2 then
ipc.control(65911)
end
end
end
x = x + 1 -- move on to next mode
if x > 2 then -- 3 for 4 different settings (as we start at 0), and so on
x = 0
end
ipc.writeUB(0x66C0, x)
-
Hi,
I would like to make a little lua program that allows me (means a button of joistick)to toggle a view of panel, then a second panel and finally none.
The sequence is as follows:
1-push button
2-view the overhead panel (shft+6) number control 65911
3-push button
4-view the pedestal (shft+5) number control 65910 (and remove the overhead)
5-push button
6-remove pedestal (any panel)
7-push button
....restart over
It's possible? ...and it is easy?
Tanks
-
Thanks Pete,
it's possible assign the aileron trim and the rudder trim directly in FS9 axis?
I found the setting buttons for trim in FS9 but not for the axes.
-
Hi Pete,
Why fsuipc sees only six axes?
I have a card BU836X and I can't use all 8 axis, it is possible use the axis 7 and 8 with FSUIPC?
Thanks
Fabio
-
Ok, good explanation!
Tanks Pete
Fabio
-
What is the difference between Unsigned (U) or Signed (S) values in the OFFSET parameters?
Thanks
Fabio
Italy
-
Thanks you for the quick response.
Regards
Fabio Grappasonni
Italy
-
Hello, I bought from SimMarket the product FSUIPC 3.93 on 12/30/09.
Now, I have become aware of the version 3.96 releases the January 10th 2010.
Can I use my code for the new version 3.96?
I have the problem of crash of FS2004 with the "Buttons" and "key Presses" page and I can't use the function "JoystickTimeout" because not present in my version of FSUIPC 3.93.
What can I do?
Regards
Fabio Grappasonni
Italy
Axis assignment and command delayed
in FSUIPC Support Pete Dowson Modules
Posted
Thanks for the information, Pete.
I tried the "2" but not working well....
I want to try the "1" but I don't know the LUA command for read the axis.
In my case is: joy 1 axis Y. Can you give me an example of the LUA programming?
Thanks
Fabio