Fix mouse issues with newUI stuff in 1x mode

This commit is contained in:
Henrik Rydgard committed 2013-07-09 14:46:48 +02:00
1 parent 408f7f8001
commit 43205362fd
2 files changed
+8 -8

No files matched your search

+6 -6
View File
@@ -350,8 +350,8 @@ namespace MainWindow
TouchInput touch;
touch.id = 0;
touch.flags = TOUCH_DOWN;
touch.x = GET_X_LPARAM(lParam);
touch.y = GET_Y_LPARAM(lParam);
touch.x = input_state.pointer_x[0];
touch.y = input_state.pointer_y[0];
NativeTouch(touch);
}
break;
@@ -378,8 +378,8 @@ namespace MainWindow
TouchInput touch;
touch.id = 0;
touch.flags = TOUCH_MOVE;
touch.x = GET_X_LPARAM(lParam);
touch.y = GET_Y_LPARAM(lParam);
touch.x = input_state.pointer_x[0];
touch.y = input_state.pointer_y[0];
NativeTouch(touch);
}
}
@@ -398,8 +398,8 @@ namespace MainWindow
TouchInput touch;
touch.id = 0;
touch.flags = TOUCH_UP;
touch.x = GET_X_LPARAM(lParam);
touch.y = GET_Y_LPARAM(lParam);
touch.x = input_state.pointer_x[0];
touch.y = input_state.pointer_y[0];
NativeTouch(touch);
}
break;