Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
839fa7c5fThis file is pinned to the selected release. Download the original to open it in your design tool.
/*****************************************************************************
EncoderButton.cpp
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include "erb/EncoderButton.h"
namespace erb
{
/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*
==============================================================================
Name : ctor
==============================================================================
*/
EncoderButton::EncoderButton (const uint8_t & data_a, const uint8_t & data_b, const uint8_t & data_sw)
: encoder (data_a, data_b)
, button (data_sw)
{
}
/*\\\ INTERNAL \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*
==============================================================================
Name : impl_preprocess
==============================================================================
*/
void EncoderButton::impl_preprocess ()
{
encoder.impl_preprocess ();
button.impl_preprocess ();
}
/*
==============================================================================
Name : impl_postprocess
==============================================================================
*/
void EncoderButton::impl_postprocess ()
{
encoder.impl_postprocess ();
button.impl_postprocess ();
}
/*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
} // namespace erb
/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/