summaryrefslogtreecommitdiffstats
path: root/xbmc/peripherals/devices/PeripheralJoystick.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 09:25:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 09:25:13 +0000
commite353c8eff2bef4b84c539d4c03dc7c0a5adf9f9b (patch)
tree7ac20f83cf66e65d9e27e7be128f2142324466d7 /xbmc/peripherals/devices/PeripheralJoystick.cpp
parentAdding upstream version 2:20.4+dfsg. (diff)
downloadkodi-e353c8eff2bef4b84c539d4c03dc7c0a5adf9f9b.tar.xz
kodi-e353c8eff2bef4b84c539d4c03dc7c0a5adf9f9b.zip
Adding upstream version 2:20.5+dfsg.upstream/2%20.5+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xbmc/peripherals/devices/PeripheralJoystick.cpp')
-rw-r--r--xbmc/peripherals/devices/PeripheralJoystick.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/peripherals/devices/PeripheralJoystick.cpp b/xbmc/peripherals/devices/PeripheralJoystick.cpp
index bccad91..e2087a7 100644
--- a/xbmc/peripherals/devices/PeripheralJoystick.cpp
+++ b/xbmc/peripherals/devices/PeripheralJoystick.cpp
@@ -98,8 +98,7 @@ bool CPeripheralJoystick::InitialiseFeature(const PeripheralFeature feature)
if (bSuccess)
{
- m_buttonMap =
- std::make_unique<CAddonButtonMap>(this, addon, DEFAULT_CONTROLLER_ID, m_manager);
+ m_buttonMap = std::make_unique<CAddonButtonMap>(this, addon, DEFAULT_CONTROLLER_ID);
if (m_buttonMap->Load())
{
InitializeDeadzoneFiltering(*m_buttonMap);