Loading files
#pragma once
#include "io/HardwareInputInterface.h" // TODO: replace this nonsense name
#include "types/ButtonAction.h"
namespace additional_buttons
{
enum class Button : uint8_t
{
extraNote = 0,
internalMenu = 1,
};
static const uint8_t NUMBER_OF_BUTTONS = 2;
struct Event
{
ButtonAction action;
Button button;
};
class AdditionalButtonsInterface : public HardwareInputInterface<Event>
{
public:
bool waitForInput( Event* event ) override = 0;
void discardPendingInput() override = 0;
};
} // namespace additional_buttons
f2b20b099This file is pinned to the selected release. Download the original to open it in your design tool.