Commit dc450679 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Merge remote-tracking branch 'origin/Plasma/5.11'

parents c6027388 c25de336
......@@ -184,6 +184,10 @@ JoyDevice::ErrorCode JoyDevice::open()
return JoyDevice::ERR_GET_CORR;
}
if (bt < 0) {
return JoyDevice::ERR_GET_BUTTONS;
}
descr = name;
joyFd = fd;
axes = ax;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment