QB64 Phoenix Edition
Controller Library - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Expanding Horizons (Libraries) (https://staging.qb64phoenix.com/forumdisplay.php?fid=21)
+---- Forum: Terry Ritchie (https://staging.qb64phoenix.com/forumdisplay.php?fid=31)
+---- Thread: Controller Library (/showthread.php?tid=1615)

Pages: 1 2


RE: Controller Library - TerryRitchie - 05-18-2023

UPDATE:

The library has been updated to version 1.10

The original post at the top of this thread has been updated with all the details and new ZIP file to download.

Additions to this version:

NOTE: This library will now require QB64PE version 3.7.0 and above.

- Save and load user defined buttons ( __LOAD_BUTTONS, __SAVE_BUTTONS )
- The ability to detect new controllers plugged and existing controllers unplugged/plugged back in ( __NEW_CONTROLLER, __CONNECTED )
- Remove all controller associated user defined buttons ( __REMOVE_CONTROLLER )
- Prior versions automatically created buttons based on integer variables. A change was needed to facilitate the loading of saved button configurations.
  __MAKE_BUTTON is now required to initialize user defined buttons (see documentation in CONTROLLER.BI for more info).


The mini-game, "Configure_Buttons.BAS", along with the other three example programs have been updated to highlight the new features.