this GPIO use-case (press a hardware button on the development board) is shown in the example "DeviceIntegration" that you will find within your Build Environment within the subdirectory /Examples. This demo shows how to switch on/off the hardware LED when you press a button within a GUI application and how to change the user interface when a hardware button is pressed.
Please have a look to the chapter Device Class and Device Driver? It describes the necessary concepts.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!