Add method to get joystick button name including a device prefix

This commit is contained in:
Roland Rossgotterer
2019-02-14 16:10:43 +01:00
committed by Mat Sutcliffe
parent e5c435f281
commit 68907258a5
4 changed files with 26 additions and 0 deletions

View File

@@ -86,6 +86,9 @@ namespace BlackMisc
//! \copydoc BlackMisc::Mixin::String::toQString
QString convertToQString(bool i18n = false) const;
//! Returns the button name with the device name prefix
QString asStringWithDeviceNames() const;
private:
CKeyboardKeyList m_keyboardKeys;
CJoystickButtonList m_joystickButtons;