#ifndef _MODULE_INPUT_h #define _MODULE_INPUT_h #define MODULE_INPUT_BUTTONS 4 struct InputButtonState; /// /// Module responsible for monitoring button presses and converting them into events /// class Module_Input : public Task, public IRunnable { /// /// Track the state of the buttons so we can do debouncing/etc /// InputButtonState* m_button[MODULE_INPUT_BUTTONS]; public: Module_Input(); void start(); void tick(); }; #endif