please have a look into the provided Build Environment for STM32F413-Discovery - there you will find the example DeviceIntegration within the folder \Examples\240x240\DeviceIntegration. This examples shows how to access the hardware button and the LED on the board from a GUI application.
I think this will help you.
Please have a look to the chapter Device Class and Device Driver? It describes the necessary concepts.
Thanks for your response.
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!