Files
t7/KeyboardSimulation.h
2022-10-12 09:03:25 +02:00

32 lines
717 B
C++

/*
* File: KeyboardSimulation.h
* Author: SET - nmset@yandex.com
* Licence : LGPL 2.1
* Copyright SET, M.D. - © 2022
*
* Created on October 8, 2022, 3:43 PM
*/
#ifndef KEYBOARDSIMULATION_H
#define KEYBOARDSIMULATION_H
#include "XT7Main.h"
class PedalEVH;
class KeyboardSimulation {
public:
KeyboardSimulation(PedalEVH * evh);
virtual ~KeyboardSimulation();
private:
PedalEvent::PedalStatus m_currentLeftStatus = PedalEvent::RELEASED;
PedalEvent::PedalStatus m_currentMiddleStatus = PedalEvent::RELEASED;
PedalEvent::PedalStatus m_currentRightStatus = PedalEvent::RELEASED;
PedalEVH * m_pedalEVH;
void OnKeyDown(wxKeyEvent& evt);
};
#endif /* KEYBOARDSIMULATION_H */