diff --git a/src/input/device_manager.cpp b/src/input/device_manager.cpp index aa8df4f70..cbb8ee0c3 100644 --- a/src/input/device_manager.cpp +++ b/src/input/device_manager.cpp @@ -97,6 +97,9 @@ bool DeviceManager::initialize() { core::stringc name = m_irrlicht_gamepads[id].Name.c_str(); + // Some linux systems report a disk accelerometer as a gamepad, skip that + if (name.find("LIS3LV02DL") != -1) continue; + #ifdef WIN32 // On Windows, unless we use DirectInput, all gamepads are given the // same name ('microsoft pc-joystick driver'). This makes configuration