ark1320 Posted May 3, 2022 Report 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
John Dowson Posted May 3, 2022 Report 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
ark1320 Posted May 3, 2022 Author Report 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now