touchgfx::ButtonController::sample() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::ButtonController::sample()

touchgfx::ButtonController::sample() method

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

Syntax

virtual bool sample(uint8_t& key) = 0;

Arguments

key

Return value

True if a keypress was detected and the "key" parameter is set to a value.

References

LocationText
ButtonController.hpp:65
virtual bool sample(uint8_t& key) = 0;