@@ -188,7 +188,7 @@ Rectangle {
188 nativeWidth: root.width
188 nativeWidth: root.width
189 nativeHeight: root.height
189 nativeHeight: root.height
190 mode: applicationArguments.mode
190 mode: applicationArguments.mode
191− hasMouse: miceModel.count + touchPadModel.count > deviceConfiguration.ignoredMice
191+ hasMouse: miceModel.count + touchPadModel.count > 0
193 // TODO: Factor in the connected input devices (eg: physical keyboard, mouse, touchscreen),
193 // TODO: Factor in the connected input devices (eg: physical keyboard, mouse, touchscreen),
194 // what's the output device (eg: big TV, desktop monitor, phone display), etc.
194 // what's the output device (eg: big TV, desktop monitor, phone display), etc.
@@ -202,7 +202,7 @@ Rectangle {
202 return "tablet";
202 return "tablet";
204 } else { // automatic
204 } else { // automatic
205− if (miceModel.count + touchPadModel.count > deviceConfiguration.ignoredMice) {
205+ if (miceModel.count + touchPadModel.count > 0) {
206 return "desktop";
206 return "desktop";
208 return deviceConfiguration.category;
208 return deviceConfiguration.category;