Jump to content
The simFlight Network Forums

FSUIPC and Game Controllers with more than 32 buttons


Recommended Posts

Hello Pete,

 

I'd have sent a pm about this, but I didn't see any way to do it.  If I have missed something, my apologies.  I attempted to use a game controller with more than 32 buttons with FSUIPC today, but didn't have success.  There are two companies who manufacture USB game controllers with more than 32 button inputs, and I own one of them.  The device I attempted to use has a total of 64 button inputs.

 

FSUIPC will use buttons 1 though 32 but not more.  I'm expecting that in a situation where there is a POV hat, FSUIPC will use it, but this is not the case here.  My suggestion/request is that FSUIPC have the ability to utilize more than 32 button inputs should a future version come out that addresses controller functionality.  To that end, we can post one over to you to help further the effort.

 

Also note that there are some current titles which use devices such as this natively.  Those are iRacing, Assetto Corsa, rFactor2 and DCS.  There is also a remapping utility called SVMapper which will allow buttons 33+ to be mapped to keyboard keys if needed.

 

Certainly I understand that some things are a function of what windows gives FSUIPC :)

 

Thank you,

 

Derek Speare

 

http://www.derekspearedesigns.com/64-button-no-matrix-controller.html

Link to comment
Share on other sites

I'd have sent a pm about this, but I didn't see any way to do it.  If I have missed something, my apologies.  I attempted to use a game controller with more than 32 buttons with FSUIPC today, but didn't have success.  There are two companies who manufacture USB game controllers with more than 32 button inputs, and I own one of them.  The device I attempted to use has a total of 64 button inputs.

 

FSUIPC will use buttons 1 though 32 but not more.  I'm expecting that in a situation where there is a POV hat, FSUIPC will use it, but this is not the case here.  My suggestion/request is that FSUIPC have the ability to utilize more than 32 button inputs should a future version come out that addresses controller functionality.  To that end, we can post one over to you to help further the effort.

 

Sorry, I cannot re-write so much of FSUIPC now. It is a huge amount of work and would require a lot of design effort even before beginning, because of the way structures and so on have been formed. I am simply not willing to jeopardise the stability of the program, and especially not in areas of code which are now very very old.

 

You can do whatever you like with your devices using Lua plug ins. The Hid functions in the COM library can handle any sort of HID device, no matter how many of whatever they might have. The whole reason for adding the Lua plug-in facilities was precisely to allow capabilities to be increased without continually having to modify core code.

 

Pete

Link to comment
Share on other sites

Sorry, I cannot re-write so much of FSUIPC now. It is a huge amount of work and would require a lot of design effort even before beginning, because of the way structures and so on have been formed. I am simply not willing to jeopardise the stability of the program, and especially not in areas of code which are now very very old.

 

You can do whatever you like with your devices using Lua plug ins. The Hid functions in the COM library can handle any sort of HID device, no matter how many of whatever they might have. The whole reason for adding the Lua plug-in facilities was precisely to allow capabilities to be increased without continually having to modify core code.

 

Pete

 

Thank you for the consideration :)  Seems I am off to learn this LUA scripting.  I understand your methodology!

 

Happy flying!

Link to comment
Share on other sites

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.