touchgfx::ButtonController is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::ButtonController class

@class ButtonController ButtonController.hpp platform/driver/button/ButtonController.hpp Interface for sampling external key events. Interface for sampling external key events.

Syntax

class ButtonController { public:     virtual ~ButtonController()     {     }     virtual void init() = 0;     virtual bool sample(uint8_t& key) = 0;     virtual void reset() {} };

Methods

init()

@fn virtual void ButtonController::init() = 0; Initializes button controller. Initializes button controller. Read more...

sample()

@fn virtual bool ButtonController::sample(uint8_t& key) = 0; Sample external key events. Sample external key events. Read more...

reset()

@fn virtual void reset() Resets button controller. Resets button controller. Does nothing in the default implementation. Read more...

References

Type Use

Variables of touchgfx::ButtonController type
touchgfx::ButtonController