state-handler: prepapre for pressure state
This commit is contained in:
parent
9608200f91
commit
cf8d491516
@ -172,6 +172,13 @@ private:
|
|||||||
*/
|
*/
|
||||||
void stateSensors (const Event &event);
|
void stateSensors (const Event &event);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Get pressure with the state
|
||||||
|
*
|
||||||
|
* @param event
|
||||||
|
*/
|
||||||
|
void stateGetPressure (const Event &event);
|
||||||
|
|
||||||
/** Handle button presses
|
/** Handle button presses
|
||||||
*
|
*
|
||||||
* @param button current button
|
* @param button current button
|
||||||
|
|||||||
@ -196,6 +196,23 @@ StateHandler::stateSensors (const Event &event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
StateHandler::stateGetPressure (const Event &event)
|
||||||
|
{
|
||||||
|
switch (event.type)
|
||||||
|
{
|
||||||
|
case Event::eEnter:
|
||||||
|
break;
|
||||||
|
case Event::eExit:
|
||||||
|
break;
|
||||||
|
case Event::eKey:
|
||||||
|
break;
|
||||||
|
case Event::eTick:
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
StateHandler::handleControlButtons (uint8_t button)
|
StateHandler::handleControlButtons (uint8_t button)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user