AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
Loading...
Searching...
No Matches
i_button.h
Go to the documentation of this file.
1
#pragma once
2
11
class
IButton
12
{
13
public
:
14
virtual
~IButton
() =
default
;
15
22
virtual
void
setup
() = 0;
23
29
virtual
bool
event
() = 0;
30
37
virtual
void
reset
() = 0;
38
};
IButton
Interface for interrupt-driven button input.
Definition
i_button.h:12
IButton::reset
virtual void reset()=0
Resets the pressed flag.
IButton::setup
virtual void setup()=0
Initializes the GPIO pin for button input.
IButton::event
virtual bool event()=0
Checks for a button press event and clears the flag.
IButton::~IButton
virtual ~IButton()=default
lib
PedalLogic
include
i_button.h
Generated by
1.9.8