Jump to content
The simFlight Network Forums

VFRJON

Members
  • Posts

    9
  • Joined

  • Last visited

About VFRJON

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://virtualvfr.com

Profile Information

  • Interests
    Flightsimming..... DUH

VFRJON's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks for the answer Pete, I think you may have got me thinking about something....... I have seen this in the windows API, so I guess I have to see if it is available in directinput / directx. I'm sure it would be there somewhere! Its definitely not hardware related, have had this working for years with various software, I'm 100% confident its something I have missed in the new code I have written. The button, while being held down causes each cylce of the code to see that the button is pressed, and therefore toggle the value I am writing to a particular offset. For example if (pressed_button == "37" & (audio_status_lights.Value[3])) { audio_status_lights.Value[3] = false; } else if (pressed_button == "37" & (!audio_status_lights.Value[3])) { audio_status_lights.Value[3] = true; } So if button "37" is held down, cycle 1 sets audio_status_lights.Value[3] false cycle 2 sets audio_status_lights.Value[3] true cycle 3 sets audio_status_lights.Value[3] false cycle 4 sets audio_status_lights.Value[3] true cycle 5 sets audio_status_lights.Value[3] false cycle 6 sets audio_status_lights.Value[3] true cycle 7 sets audio_status_lights.Value[3] false cycle 8 sets audio_status_lights.Value[3] true ..................... and its a lucky dip as to what the status is, when you take your finger off the button!
  2. Hi, At present Using a program I have written in c# , I am able to read the data from my joystick button presses (all 112 of them!!!!) using directinput and directX and then send data back to FSUIPC. Its working great, and now I have no limitation of the windows 32 button API and I can throw away the joy to key software I have. Couldnt believe how easy it was!! The problem I am having, is trying to work out an algorithm so that when I hold the button down the value for the offset doesn't keep toggling. What I am looking for is something like the tickbox in the FSUIPC module that controls whether the button is to be repeated while held, except I want it in reverse. I'm programming in C# using Phentys dotnet.dll Can anyone help me with this, doesn't matter what language its done in, as long as I get an idea of where to start, hopefully I can nut it out. Jon
  3. Yeap, Timer was set to 500ms. Bringing that back to 100ms works great. Thanks for that. Jon
  4. Thanks Richard, I noticed that last night, and am expermenting with different settings. Cheers
  5. Thanks Pete, I shall look at this a little more closely. Id just like to say thanks for the great support you give for FSUIPC. While most of us only have 1 project on the go that we are trying to work out, you have to put up with our problems and then try and understand what we are trying to do so you can help us. Good on ya! Jon
  6. Ive been playing with FSUIPC using VB6 and modifying the SDK example. What I have noticed is that there seems to be a delay of anything up to a second before I see a change in my 'UIPCHello.exe' window. For example if I display the active COM1 freq, and then hit the Stby Swap button on my radio panel, it takes a little whille for it to change form say 122.80 to 120.50 in my exe. Is this normal, or would it be something in the code of the UIPCHello.exe that causes this? Jon
  7. Many Thanks. I may take you up on your offer of email! I have looked at your DLL and found it most helpful. Im working on turning the radio display frequencies to individual digits, to send to a hardware display. At the moment getting stuck with the binary to decimal conversion, which I understand the concept, just getting the syntax to work is driving me nuts!
  8. Hi, Hoping there is someone who is profficient enough with MS Visual Basic 2005 Express Edition who can help me. I have been succsesful reading data from FSUIPC using Deplhi, but am having all sorts of trouble with VB. Do I need to declare, at the beginning of the code, where to find the functions/procedures contained in FSUIPC. With Delphi you do, but I cant find any reference to it for VB. If so, could someone please give an example. Is VB6 the same as VB 2005 Express as far as syntax etc? Thanks in advance, Jon
  9. David, I too built this mjoy16 (along time ago) and still use it today. In fact I have just added another 8 switches last night. The only way around this limitation is to use the program "mjoy mapper" that Mindaugas wrote. Its available from his site, or you can email me and I'll send it to you. There are probably other joy to key softwares around, but this one was designed especially for MJOY16. In fact I helped him with the testing of it. If anyone is in contact with MeanDog, I would like to chat to him again, as its been a long time since we caught up. But, it would be great to use all buttons directly to FSUIPC, as it would be much simpler to setup. Alas, MS dont like more than 32 buttons, so we have to live with this method. Jon
×
×
  • 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.