Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Namespaces | Functions
inputs.h File Reference

Handle the logic associated with the input button. More...

Go to the source code of this file.

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::logic
 Handle the main high level logics.
 
namespace  lampda::logic::inputs
 Handle the system input, the behavior associated to the button inputs.
 

Functions

void lampda::logic::inputs::init (const bool wasPoweredByUserInterrupt)
 Call once on system start.
 
void lampda::logic::inputs::loop ()
 Call often to handle button updates.
 
void lampda::logic::inputs::button_disable_usermode ()
 disable custom user modes
 
bool lampda::logic::inputs::is_button_usermode_enabled ()
 return true if custom user modes are enabled
 

Detailed Description

Handle the logic associated with the input button.