30 lines
683 B
C++
30 lines
683 B
C++
#include "bobbydisplay.h"
|
|
|
|
// local includes
|
|
#include "bobbybuttons.h"
|
|
|
|
void BobbyDisplay::rawButtonPressed(uint8_t button)
|
|
{
|
|
//Base::rawButtonPressed(button);
|
|
if (const auto translated = translateRawButton(button))
|
|
buttonPressed(*translated);
|
|
}
|
|
|
|
void BobbyDisplay::rawButtonReleased(uint8_t button)
|
|
{
|
|
//Base::rawButtonReleased(button);
|
|
if (const auto translated = translateRawButton(button))
|
|
buttonReleased(*translated);
|
|
}
|
|
|
|
void BobbyDisplay::buttonPressed(espgui::Button button)
|
|
{
|
|
//Base::buttonPressed(button);
|
|
buttonPressedCommon(button);
|
|
}
|
|
|
|
void BobbyDisplay::buttonReleased(espgui::Button button)
|
|
{
|
|
//Base::buttonReleased(button);
|
|
}
|