qt: Poll from Qt code instead of RawInput code on Windows when absolute mode is used
Fixes tablet input
This commit is contained in:
@@ -145,9 +145,11 @@ void
|
||||
RendererStack::mousePoll()
|
||||
{
|
||||
#ifdef Q_OS_WINDOWS
|
||||
mouse_x_abs = mousedata.x_abs;
|
||||
mouse_y_abs = mousedata.y_abs;
|
||||
return;
|
||||
if (mouse_mode == 0) {
|
||||
mouse_x_abs = mousedata.x_abs;
|
||||
mouse_y_abs = mousedata.y_abs;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#ifndef __APPLE__
|
||||
mouse_x = mousedata.deltax;
|
||||
|
||||
Reference in New Issue
Block a user