Jump to content
mdma357

Hardware button. Please help!

Recommended Posts

 

Hello! I ran into the problem of connecting a hardware button to a GPIO, somebody could not provide at least a minimal example of how to tie a button to a button in the graphical interface. Perhaps someone had a project with hardware buttons. 

The API does not provide an exhaustive answer about this.

Share this post


Link to post
Share on other sites

What you want is the Toggle driver of GINPUT. It allows to attach hardware buttons to µGFX applications.

There's a working example for some Atmel SAM platform. You might want to use the forum search on "toggle" to find more information.

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

×