Jump to content
The simFlight Network Forums

FSUIPC6 v6.0.14 & FSUIPC7 v7.1.0: Beta releases with Native support for up to 128 buttons


Recommended Posts

Please find attached a beta version of the FSUIPC6.dll anf the FSUIPC7.exe that has native support for HID joystick type devices with up to 128 buttons.
For FSUIPV6. this is a dll-only release - to use, download the dll and drop it into your FSUIPC6 installation folder.
For FSUIPC7, it is an exe release only - to use, download the FSUIPC7.exe and drop it into your FSUIPC7 installation folder.

Buttons 0-31 are recognised as usual. Buttons 32 onwards will be recognised as buttons 132, 133, etc.

Full functionality is not available for buttons > 32. Currently, the following restrictions apply to these buttons:
    - Lua button events (event.button) are not working for buttons > 31 (but a workaround available - see below)
    - current button flags (including offsets 0x3340 & 0x29F0) are not working for buttons > 31 (however, there is a new offset area that can for this - see below)

The lua ipc.button and ipc.testbuttons functions  now return 4 values (only receive those you need), which are 32-bit values containing the button states 0-31, 32-63, 64-95 &96-127.
Offset 0x2910, the "Hot Button" facility is also working.

A new 'buttonflag' offset area has also been added at offsets 0x7F00 - 0x7FFF (256 bytes). This holds the button flags for 16 'normal' joysticks for up to 128 buttons per joystick, so 4 bytes per 32 buttons, 16 bytes per joystick (4x4bytes), 256 bytes total.
These flags can be used with event.offsetmask to replicate the event.button functionality for buttons > 32 if needed.

This new facility can be disabled (i.e. revert to the 32 button limit and use lua for buttons > 32) by adding the following ini parameter to the [General] section of your FSUIPC6.ini file:
        EnableExtraButtons=No

This announcement is locked for comments - for any issues, please use the following support forum topic for FSUIPC6:: 

and the following topic for FSUIPC7 issues: 

 

 

Any updates will be posted in this announcement, so please Follow if interested in updates.

Regards,

John

FSUIPC7.exe

FSUIPC6.dll

Edited by John Dowson
Added FSUIPC7.exe
  • Thanks 1
Link to post
Share on other sites
  • John Dowson changed the title to FSUIPC6 v6.0.14 & FSUIPC7 v7.1.0: Beta releases with Native support for up to 128 buttons

Both releases have been corrected for:
    - compound button assignments
    - offset monitor bug
FSUIPC7 has an additional correction for an issue where axes are not recognised/working when FSUIPC7 is started and MSFS is already running with a flight loaded.
I have also changed the version number of the FSUIPC7 release with 128 button support to 7.1.0.a (beta).

FSUIPC7 beta release v7.1.0a: FSUIPC7.exe

FSUIPC6 beta release v6.0.14b: FSUIPC6.dll

Link to post
Share on other sites
  • 2 weeks later...
  • 4 weeks later...

Please note that this beta release for FSUIPC7 has now been superseded. For the latest 7.1.0 beta, please see 

The FSUIPC6 beta has now been released officially as v6.1.0.

 

Link to post
Share on other sites
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • 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.