Jump to content
The simFlight Network Forums

astrograppa

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by astrograppa

  1. 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
  2. [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
  3. WOW, you are very quick!! excellent service! Tomorrow I try the new release.... now I'm not at home. Fabio
  4. In fact, I use FS2004. Do you correct the error the next update? Thanks Regards Fabio Grappasonni
  5. [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?
  6. 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
  7. Thanks Pete, what is the precise syntax of command ipcParam (i.e. I use axes 1Y)? P.S. I made a mistake in the draft, this is the right one:
  8. Because in the same axis I would like emulate a lot of bottons following this draft: It can be very useful for creating FMS panel.
  9. 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
  10. 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)
  11. 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
  12. 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.
  13. 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
  14. What is the difference between Unsigned (U) or Signed (S) values in the OFFSET parameters? Thanks Fabio Italy
  15. Thanks you for the quick response. Regards Fabio Grappasonni Italy
  16. 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
×
×
  • 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.