Initial commit.
This commit is contained in:
31
KeyboardSimulation.h
Normal file
31
KeyboardSimulation.h
Normal 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 */
|
||||
|
||||
Reference in New Issue
Block a user