Jump to content
Sign in to follow this  
Han Schouten

Request to turn BU0836A hat button into four ordinary buttons

Recommended Posts

The BU0836A interface board accommodates up to 8 axes and 36 buttons, four of which are grouped into a hat button arrangement. If you don't need a hat button, this is a waste of four ordinary buttons. FSX, P3D and LINDA don't offer a solution for this. FSUIPC, however, provides a possibility to assign some behaviour to any of the four buttons, as if it were ordinary buttons.

 

LINDA got me programming my button behaviour in LUA. The assignment of LUA functions to buttons in LINDA is much more elegant and better maintainable then calling LUA files in FSUIPC.

 

There are at least two ways to get around this limitation in LINDA: buy another BU0836A (not expensive anyway) or store your LUA procedure without enveloping function ... end block as a conveniently named file with the extension ".lua" in the Modules folder of FSX or P3D and assign this behaviour with "LUA " to some button in FSUIPC. I got my "ordinary" buttons 32 to 35 working in this way.

 

Yet, for reasons of uniformity and maintainability, I would prefer a solution comparable to the one of FSUIPC in LINDA.

Share this post


Link to post
Share on other sites

Thank you for the report. Handling HATS with the legacy third-party code used in LINDA can give strange results. I have a BU0836A card on loan so I will investigate when the opportunity arises.


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

You may safely wipe out the FSUIPC solution that I have mentioned before. Unexpected side effects make this solution useless! So, buying a second (or a third) BU0836A might be the best possible solution, after all.

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...