Re: Xinput: units of the coordinates in motion-events?

Christophe Lohr <christophe.lohr-vHHsQtDGzY/[email protected]> Thu, 25 Oct 2018 21:02:00 +0200
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <[email protected]>
Le 25/10/2018 à 18:12, Uli Schlachter a écrit :
>> Simply speaking, how to convert a FP1616 into a float?
>> (I just have to do  FP1616 / 2^16 )?
> ...yes. Is there any problem with just doing that?
>
> See e.g. https://en.wikipedia.org/wiki/Fixed-point_arithmetic on fixed
> point numbers.

oups
"fixed point": the specification yet clearly tell it
I didn't catch it ;-) Sorry
Many thanks for your patience

Regards

_______________________________________________
Xcb mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xcb