mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 06:25:33 +08:00
Function for getKeyStrings() and replace without key (just adding)
This commit is contained in:
committed by
Mat Sutcliffe
parent
94b53cef6c
commit
21acef505c
@@ -21,7 +21,7 @@
|
||||
#include "blackmisc/valueobject.h"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -46,6 +46,9 @@ namespace BlackMisc
|
||||
//! Get keyboard keys
|
||||
CKeyboardKeyList getKeyboardKeys() const { return m_keyboardKeys; }
|
||||
|
||||
//! As keyboard key strings
|
||||
QStringList getKeyStrings() const { return m_keyboardKeys.getKeyStrings(); }
|
||||
|
||||
//! Set joystick buttons
|
||||
void setJoystickButtons(const CJoystickButtonList &list) { m_joystickButtons = list; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user