Files
t7/KeyboardSimulation.h

32 lines
745 B
C
Raw Permalink Normal View History

2022-10-12 09:03:25 +02:00
/*
* File: KeyboardSimulation.h
2022-11-19 16:28:04 +01:00
* Author: Saleem Edah-Tally - nmset@yandex.com
2022-10-12 09:03:25 +02:00
* Licence : LGPL 2.1
2022-11-19 16:28:04 +01:00
* Copyright Saleem Edah-Tally, M.D. - © 2022
2022-10-12 09:03:25 +02:00
*
* 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 */