Jump to content
The simFlight Network Forums

How many "virtual" joysticks are there in FSUIPC?


Recommended Posts

Posted

I'm specifically asking about the FSUPIC specific range that starts at joystick #64 (via offset 0x3340)? Based on the 36 bytes, it seems to be 9. Is there a way to use more somehow?

Posted

I don't know...those offsets have been around for quite a while now, so I don't think it is an FSUIPC issue but I can check.
However, I am away from this afternoon, back next week, so it will take me a while before I can take a look at this in detail.
Keep me updated if you find anything, otherwise I will report back once I have checked that offset area (mid to end of next week),

John

Posted

So I used the client library's FSUIPCExampleCode_CS project to test this out by modifying the BC004_WritingOffsets example. 0x3340 triggers and logs, 0x7f00 does not. This removes StreamDeck and my original setup/code from the equation at least.

Posted

Sorry but I still haven't had time to look into this.... I am on holiday now, until the 3rd January, but will try and look further into this issue next week, when time permits. I will report back again once I have investigated.

John

Posted
49 minutes ago, John Dowson said:

Sorry but I still haven't had time to look into this.... I am on holiday now, until the 3rd January, but will try and look further into this issue next week, when time permits. I will report back again once I have investigated.

John

Thanks... please let me know if you need me to test anything.

 

  • 2 weeks later...
Posted

Ok, I have now looked into this. Offset area 0x7F00 is badly documented, and is for real joysticks not virtual ones. Basically it is a copy of the facilities provided at offset 0x03C0, but for joysticks with up to 128 buttons, not the facilities for virtual joystick buttons provided at 0x3340. I will correct the documentation.

So, for your original question:

On 12/11/2022 at 11:20 PM, pilotjohn said:

Is it 16 (64-79)? I'm trying to space my panels out.

For virtual device access via offsets, it is only 9 (64-72) and via offsets 0x3340 and 0x29F0. This provides access to 288 virtual buttons.

Sorry for the confusion, and the time taken for me to look into this.

Regards,

John

 

Posted

...and I won't be increasing this. Too many changes would be needed to support more, especially considering WideClient....I am afraid you will be limited to 9 virtual devices for external triggering.

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.