mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Add function to retrieve all available joystick buttons
This commit is contained in:
committed by
Mat Sutcliffe
parent
2503a55dae
commit
e5c435f281
@@ -133,6 +133,11 @@ namespace BlackCore
|
||||
m_joystick.reset();
|
||||
}
|
||||
|
||||
CJoystickButtonList CInputManager::getAllAvailableJoystickButtons() const
|
||||
{
|
||||
return m_joystick->getAllAvailableJoystickButtons();
|
||||
}
|
||||
|
||||
int CInputManager::bindImpl(const QString &action, QObject *receiver, std::function<void (bool)> function)
|
||||
{
|
||||
static int index = 0;
|
||||
|
||||
Reference in New Issue
Block a user