ClassesButtonsOn this pageButtonstouchgfx/hal/Buttons.hppA class for accessing a physical button. Public Functionsvoidinit()Perform configuration of IO pins.unsigned intsample()Sample button states.Public Functions Documentationinitstatic void init()Perform configuration of IO pins. samplestatic unsigned int sample()Sample button states. Returns:the sampled state of the buttons.