dsa-t
dsa-t
It might be simplest to emit the synthesized mouse events anyway.
If we return `false` in `touch_callback`, the event order is interesting: ``` OnMouseMove leftdown 0 pos 224 439 touch_callback Emulating 1 widget 0x555555859120 dev 0x555555634820 dev 0 OnMouseMove leftdown 1...
Another questions are: - Should we use floating point for precise positioning on high-DPI screens? - Maybe get rid of `wxTouchSequenceId` and use `int`, like [Qt does](https://doc.qt.io/qt-6/qeventpoint.html#id-prop)?
> What do the different OS provide to us, i.e. what type of coordinates they use? > > > Logical pixels == DIPs on wxQt, so it would be most...
> Sorry, what I meant was whether it was integer or floating point? on GTK, it's ``` gdouble x; gdouble y; ``` on Qt, it's `qreal` aka `double` in `QPointF`:...
Changed position type to `wxPoint2DDouble`. The way `ScreenToClient` is used is not great. Should `ScreenToClient` be implemented for floatinig point separately, and is there other suggestions? CI Error in `Cirrus...
`wxMouseEvent` positions are floating point in GTK, Qt and OSX. Should wx also use floating point types for these?
Yes, I'm just a little busy these days. Will get to it eventually.
Works on Linux Mint/X11 (wxGTK and wxQt)
> AFAICS there have been no changes and the branch was just rebased on the latest master, right? Yes.