ark1320 Posted May 3, 2022 Report Share Posted May 3, 2022 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 Link to comment Share on other sites More sharing options...
John Dowson Posted May 3, 2022 Report Share Posted May 3, 2022 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 Link to comment Share on other sites More sharing options...
ark1320 Posted May 3, 2022 Author Report Share Posted May 3, 2022 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 Link to comment Share on other sites More sharing options...
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