Showing the changes to libraries/input-plugins/src/input-plugins (1 of 13 files). Show all
Unified · Split
| @@ -99,6 +99,9 @@ void KeyboardMouseDevice::mouseMoveEvent(QMouseEvent* event, unsigned int device · 98 unmodified lines | ||
| 99 | 99 | _inputDevice->_axisStateMap[MOUSE_AXIS_Y_POS] = (currentMove.y() < 0 ? -currentMove.y() : 0.0f); |
| 100 | 100 | _inputDevice->_axisStateMap[MOUSE_AXIS_Y_NEG] = (currentMove.y() > 0 ? currentMove.y() : 0.0f); |
| 101 | 101 | |
| 102 | + // FIXME - this has the characteristic that it will show large jumps when you move the cursor | |
| 103 | + // outside of the application window, because we don't get MouseEvents when the cursor is outside | |
| 104 | + // of the application window. | |
| 102 | 105 | _lastCursor = currentPos; |
| 103 | 106 | _mouseMoved = true; |
| 104 | 107 | |