20 #ifndef TOUCHSCREENKEYBOARD_H 21 #define TOUCHSCREENKEYBOARD_H 26 #include <QMidiMessage> 78 #endif // TOUCHSCREENKEYBOARD_H void highlightKey(QVariant key, QVariant on)
Signal: Tells the Qml layer to highlight pressed keys.
QVector< bool > mSoundActive
Flag wether the sound is turned on.
bool mActive
Flag that allows to send data.
bool mToggleMode
Flag for desktop toggling mode.
void sendTouchpadMidiEvent(QMidiMessage event)
Signal: On keypress send the corresponding Midi event to a different module.
void receiveTouchpadKeyboardEvent(QVariant keys)
SLOT: Receive an event from the touchscreen keyboard.
void setToggleMode(bool on)
QSet< int > mPressedKeys
Keeps track of pressed keys.
void switchNote(int key, bool on)
Switch note on or off.
void clear()
Clear the keyboard memory and turn all notes off.
TouchscreenKeyboard()
Constructor.