John Dowson Posted yesterday at 09:54 AM Report Posted yesterday at 09:54 AM 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now