Jump to content
The simFlight Network Forums

falano

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Madrid

falano's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Conversation Starter Rare
  • One Month Later
  • Week One Done

Recent Badges

0

Reputation

  1. Hello again John, Please note: Providing more information about my question: My program cannot find the FSUIPC window and this is the report: Trying to connect to FSUIPC...? Could not open FSUIPC. Error: 2FSUIPC_ERR_NOFS (FSUIPC not found) Has the window used by FSUIPC6 changed compared to previous versions? My version of FSUIPC is 6.2.2 and P3D is 6.0.34.31011. I have compiled the library with the files UIPC64_SDK_C_version2: IPCuser64.c/IPCuser64.h/FSUIPC_User64.h. Thanks in advance.
  2. Thank you for your help. I will focus on P3D. I am using P3D v6 and I have recompiled your IPCuser64.c/h for VS2022 (UIPC64_SDK_C_version2). The function FSUIPC_Open keeps giving me error 2. Is there some incompatibility? Or is it an error on my part? Thank you very much.
  3. My former question: Sending keystrokes works with text editors, but not with Prepar3D your answer: Sorry, but what do you mean? How are you sending the leystrokes? I meant that when my program detected a change in the simulator's hardware (switch or button), it would send the code and the scan code of a key. The keys sent this way are recognized by text editors like Notepad or Word, but FSUIPC does not recognize them. Prepar3D also does not recognize the keys that are assigned when they are sent by a program (sendinput). Regarding using other software like MobiFlight or SIOC, I think it is simpler and more direct to use FSUIPC because it is the standard. I will try to look in 'Lua' libraries; I have seen a function called event.key in forums, and I will try it. Do you know any way in which I could somehow emulate a key press that FSUIPC would recognize? Thank you very much.
  4. Hi, Sending keystrokes works with text editors, but not with Prepar3D, or I don't know how to do it. I will use FSUIPC6 for the rest of the project. I am using Prepar3D v6.034 and FSUIPC 6.2.2. Is the ModuleUser64 SDK compatible with FSUIPC6? Thanks in advance.
  5. Thank you very much for your advices and time. I Let you know the out come. Jordi
  6. Thanks, John, for your response. FSUIPC6 doesn't detect the HID. Therefore, it's nothing shown in FSUIPC6.INI. It's a non-commercial HID, however, with the Hidapi library, I can read its 64-byte output buffer and identify the Sim's hardware activity, but I don't know how to send messages to Prepar3D corresponding to the hardware signals. The VRS F18 Super Hornet documentation, defines many keys for the weapon, and I can manage them by sending the keys to the Prepar3D window, but there are many switches not mapped to keys. I've attached a diagram to better understand my problem. Could I get FSUIPC6 to recognize the HID? I know its VIP and PID. If FSUIPC recognized it, I could create macros with the mouse. I think this would solve my problem. I have never worked with the Lua library or script. If you think it's best best way, could you recommend some documentation? Thank you very much for your time. Esquema del Proyecto.xlsx
  7. Hello everyone. I'm new to this forum. I need to repair an F18 Super Hornet VRS simulator. The HOTAS for the throttles, joy stick, and pedals are commercially available and are controlled by FSUIPC. However, the rest of the hardware is controlled by a non-commercial HID, and FSUIPC v6 either doesn't detect it or I don't know how to get it to detect it. I've programmed some switches with events and SimConnect, but the F18 VRS is very limited, and I have no experience programming using FSUIPC. In the event that FSUIPC isn't able to detect the HID, could you recommend some documentation for doing so using the FSUIPC SDK? Thank you very much.
×
×
  • 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.