ark1320 Posted May 3 Report Share Posted May 3 My understanding is the max button number you can use for programming a button is 31. I'm asking because another user I'm trying to help pushed a button he was trying to program and what showed up in the FSUIPC7 button window was Joy# A with Btn# 146. I know you can have many joysticks, and I thought, a max button # of 31 with each joystick (ignoring the hat switch button #s). I was surprised to see FSUIPC7 report a button # of 146. So there is something I don't understand. Thanks, Al Quote Link to comment Share on other sites More sharing options...
John Dowson Posted May 3 Report Share Posted May 3 Hi Al, previously there was a 32 button limit (buttons 0-31) for direct assignments, with buttons outside this range needing a lua script to trigger virtual button flags. However, since release v7.1.0 (released about a year ago) up to 128 buttons are supported natively. As button numbers 32-39 are reserved for POV buttons, standard buttons with numbers > 31 will be numbered from 132 onwards (i.e. add 100). This is documented in the User Manual, P22: Quote FSUIPCcan detect up to 128 buttons. The first are numbered 0-31, 32-39 are served for POV buttons, and standard buttons > 31 will be numbered from 132 (i.e. button 32 will be recognised as button 132). Note that Windows Game Controller numbers buttons from 1, so FSUIPC buttons 0-31 are seen by windows as buttons 1-32. John Quote Link to comment Share on other sites More sharing options...
ark1320 Posted May 3 Author Report Share Posted May 3 19 minutes ago, John Dowson said: Hi Al, previously there was a 32 button limit (buttons 0-31) for direct assignments, with buttons outside this range needing a lua script to trigger virtual button flags. However, since release v7.1.0 (released about a year ago) up to 128 buttons are supported natively. As button numbers 32-39 are reserved for POV buttons, standard buttons with numbers > 31 will be numbered from 132 onwards (i.e. add 100). This is documented in the User Manual, P22: John Thanks John -- I apologize for not seeing this info in the manual. Al Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.