Initial commit.

This commit is contained in:
SET
2022-10-12 09:03:25 +02:00
commit f647ce8206
17 changed files with 5232 additions and 0 deletions

31
KeyboardSimulation.h Normal file
View File

@@ -0,0 +1,31 @@
/*
* 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 */