Hotkeys: Add "Toggle USB Keyboard" hotkey

This commit is contained in:
spycrab
2018-08-02 12:55:30 +02:00
parent 14e156c292
commit e3f36b74c5
6 changed files with 33 additions and 5 deletions

View File

@ -87,6 +87,9 @@ public:
bool IsBatchModeEnabled() const;
void SetBatchModeEnabled(bool batch);
bool IsUSBKeyboardConnected() const;
void SetUSBKeyboardConnected(bool connected);
// Graphics
void SetHideCursor(bool hide_cursor);
bool GetHideCursor() const;
@ -169,6 +172,7 @@ signals:
void AutoUpdateTrackChanged(const QString& mode);
void AnalyticsToggled(bool enabled);
void DevicesChanged();
void USBKeyboardConnectionChanged(bool connected);
private:
bool m_batch = false;