Jump to content
The simFlight Network Forums

Recommended Posts

Posted
8 hours ago, falano said:

So you cannot build the UIPCHello sample in VS2022? What errors do you get?

I apologize for my confusion. It compiles and links OK, but when running it gives error 2. Error 2 is what I was refering to.

Then we need to determine why - it should run ok.

Are you running P3D as admin? If so, you would need to run any connecting problem as admin.

Here is a VS project for the UIPCHello - try building and running from this: https://fsuipc.com/download/UIPCHello.zip

8 hours ago, falano said:

but have you tried the lua com library as I have already advised?

Yes, I am working on it. My program reads inputs from the hardware and sends keystrokes and key combinations to FSUIPC. These key events trigger  LUA scripts (event.key ) that manage the LVARS. It works.

I am asking if you have tried the lua com library (the HidDemo.lua program) to see if that can recognise your buttons/switches/axes. If it can, then you can use that to assign directly in FSUIPC - no need to write your own program to interface to the hardware,

John

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.